Merge from origin/emacs-28

5e05be5 Fix localized display of date and time in the NS port
This commit is contained in:
Eli Zaretskii 2021-10-31 18:46:25 +02:00
commit 3ec6520088

View file

@ -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)
{