diff --git a/libc/time/localtime.c b/libc/time/localtime.c index 604309c5343..b61f935979e 100644 --- a/libc/time/localtime.c +++ b/libc/time/localtime.c @@ -110,11 +110,10 @@ static const char gmt[] = "GMT"; /* ** The DST rules to use if TZ has no rules and we can't load TZDEFRULES. ** Default to US rules as of 2017-05-07. -** POSIX does not specify the default DST rules; -** for historical reasons, US rules are a common default. +** Default to GMT rules as of 2023-07-25. */ #ifndef TZDEFRULESTRING -#define TZDEFRULESTRING ",M3.2.0,M11.1.0" +#define TZDEFRULESTRING "GMT0" #endif struct ttinfo { /* time type information */ diff --git a/libc/time/tzfile.internal.h b/libc/time/tzfile.internal.h index 3c892b77f99..5934778bf23 100644 --- a/libc/time/tzfile.internal.h +++ b/libc/time/tzfile.internal.h @@ -29,7 +29,7 @@ #endif /* !defined TZDEFAULT */ #ifndef TZDEFRULES -#define TZDEFRULES "New_York" +#define TZDEFRULES "GMT" #endif /* !defined TZDEFRULES */