Support alternative locale names in tests

This commit is contained in:
Victor Zverovich
2021-05-24 12:22:52 -07:00
parent 1f308a3cea
commit 883d9595c5
4 changed files with 37 additions and 9 deletions

View File

@ -78,4 +78,4 @@ class date {
};
// Returns a locale with the given name if available or classic locale othewise.
std::locale get_locale(const char* name);
std::locale get_locale(const char* name, const char* alt_name = nullptr);