Use better suited locale for standard C locale under macOS
Replace systemLocale by locale identified by en_US_POSIX because systemLocale doesn't provide any reasonable month and weekday names unlike the latter and this will be important for the upcoming commit.
This commit is contained in:
parent
6d849f8211
commit
0c4e97b881
1 changed files with 1 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ wxUILocaleImpl* wxUILocaleImpl::CreateStdC()
|
|||
// wouldn't be much better as we'd still need a hack for it in GetName()
|
||||
// because the locale names are always converted to lower case, while we
|
||||
// really want to return "C" rather than "c" as the name of this one.
|
||||
return new wxUILocaleImplCF([NSLocale systemLocale]);
|
||||
return new wxUILocaleImplCF([NSLocale localeWithLocaleIdentifier:@"en_US_POSIX"]);
|
||||
}
|
||||
|
||||
/* static */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue