Revert "Fix localized display of date and time in the NS port"

This reverts commit 5e05be566b.

This was discussed in
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51321#93
This commit is contained in:
Stefan Kangas 2021-11-09 08:49:34 +01:00
parent 307d164c9c
commit 2782bc113e

View file

@ -543,10 +543,8 @@ - (NSColor *)colorUsingDefaultColorSpace
NSString *localeID = [NSString stringWithFormat:@"%@.UTF-8",
[locale localeIdentifier]];
/* Set LANG and LC_ALL to locale, but not if the variables are
already set. */
/* Set LANG to locale, but not if LANG is already set. */
setenv("LANG", [localeID UTF8String], 0);
setenv("LC_ALL", [localeID UTF8String], 0);
}
@catch (NSException *e)
{