[Bug libc/4033] mktime bug in Europe/Lisbon timezone
jakub at redhat dot com
sourceware-bugzilla@sourceware.org
Thu Feb 22 15:52:00 GMT 2007
------- Additional Comments From jakub at redhat dot com 2007-02-22 15:52 -------
FYI, that time isn't actually a DST switch, but just switching the GMT offset
of the timezone for non-DST time:
Europe/Lisbon Sun Oct 3 01:59:59 1965 UTC = Sun Oct 3 02:59:59 1965 WEST
isdst=1 gmtoff=3600
Europe/Lisbon Sun Oct 3 02:00:00 1965 UTC = Sun Oct 3 02:00:00 1965 WET
isdst=0 gmtoff=0
Europe/Lisbon Sun Apr 3 01:59:59 1966 UTC = Sun Apr 3 01:59:59 1966 WET
isdst=0 gmtoff=0
Europe/Lisbon Sun Apr 3 02:00:00 1966 UTC = Sun Apr 3 03:00:00 1966 WET
isdst=0 gmtoff=3600
Europe/Lisbon Sat Sep 25 23:59:59 1976 UTC = Sun Sep 26 00:59:59 1976 WET
isdst=0 gmtoff=3600
Europe/Lisbon Sun Sep 26 00:00:00 1976 UTC = Sun Sep 26 00:00:00 1976 WET
isdst=0 gmtoff=0
Europe/Lisbon Sat Mar 26 23:59:59 1977 UTC = Sat Mar 26 23:59:59 1977 WET
isdst=0 gmtoff=0
Europe/Lisbon Sun Mar 27 00:00:00 1977 UTC = Sun Mar 27 01:00:00 1977 WEST
isdst=1 gmtoff=3600
As such, you can't rely on tm_isdst here to pick one or the other time,
Sep 26 00:30:00 1976 WET has ambiguous translation into seconds since epoch.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4033
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list