Merge from origin/emacs-28
5e05be5
Fix localized display of date and time in the NS port
This commit is contained in:
commit
3ec6520088
1 changed files with 3 additions and 1 deletions
|
@ -543,8 +543,10 @@ - (NSColor *)colorUsingDefaultColorSpace
|
|||
NSString *localeID = [NSString stringWithFormat:@"%@.UTF-8",
|
||||
[locale localeIdentifier]];
|
||||
|
||||
/* Set LANG to locale, but not if LANG is already set. */
|
||||
/* Set LANG and LC_ALL to locale, but not if the variables are
|
||||
already set. */
|
||||
setenv("LANG", [localeID UTF8String], 0);
|
||||
setenv("LC_ALL", [localeID UTF8String], 0);
|
||||
}
|
||||
@catch (NSException *e)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue