]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Fix localized display of date and time in the NS port"
authorStefan Kangas <stefan@marxist.se>
Tue, 9 Nov 2021 07:49:34 +0000 (08:49 +0100)
committerStefan Kangas <stefan@marxist.se>
Tue, 9 Nov 2021 07:49:34 +0000 (08:49 +0100)
This reverts commit 5e05be566b0e13ce0b4e75da663fb051039f0751.

This was discussed in
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51321#93

src/nsterm.m

index 19ed750d217984cbd6b03e1098e06a82f5d9e244..aa29c13eb22bb8f63a6f3f98a42990773a3225b9 100644 (file)
@@ -543,10 +543,8 @@ ns_init_locale (void)
       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)
     {