File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
system/lib/libc/musl/src/time Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ static void do_tzset()
142
142
143
143
s = getenv ("TZ" );
144
144
#ifdef __EMSCRIPTEN__ // XXX Emscripten ignore default timezone from filesystem
145
- if (!s || !* s ) s = __utc ;
145
+ if (!s || !* s ) s = __utc ;
146
146
#else
147
147
if (!s ) s = "/etc/localtime" ;
148
148
if (!* s ) s = __utc ;
@@ -444,7 +444,7 @@ const char *__tm_to_tzname(const struct tm *tm)
444
444
LOCK (lock );
445
445
do_tzset ();
446
446
#ifdef __EMSCRIPTEN__ // XXX Emscripten ignore default timezone from filesystem
447
- if (p != __utc && p != __tzname [0 ] && p != __tzname [1 ])
447
+ if (p != __utc && p != __tzname [0 ] && p != __tzname [1 ])
448
448
#else
449
449
if (p != __utc && p != __tzname [0 ] && p != __tzname [1 ] &&
450
450
(!zi || (uintptr_t )p - (uintptr_t )abbrevs >= abbrevs_end - abbrevs ))
You can’t perform that action at this time.
0 commit comments