[Bug time/33971] mktime()/localtime() sets tm.tm_{gmtoff,zone} according to TZDEFRULES when falling back to it

me at ziyao dot cc sourceware-bugzilla@sourceware.org
Tue Mar 10 07:22:37 GMT 2026


https://sourceware.org/bugzilla/show_bug.cgi?id=33971

--- Comment #2 from Yao Zi <me at ziyao dot cc> ---
(In reply to Andreas Schwab from comment #1)
> None of the dates in the test program trigger a fallback, there are always
> enough transitions in the EST5EDT file (until 2037).

Oops, somehow posixrules on one of my machine contains only transitions until
2007. But you could reproduce the same problem with tm_year set to later, for
example, 223.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list