This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4033] mktime bug in Europe/Lisbon timezone
- From: "sergio at sergiomb dot no-ip dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 30 Mar 2007 13:26:15 -0000
- Subject: [Bug libc/4033] mktime bug in Europe/Lisbon timezone
- References: <20070213141801.4033.cvalente@spambob.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From sergio at sergiomb dot no-ip dot org 2007-03-30 14:26 -------
>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.
but delta time of two hours shouldn't be ambiguous, at least, in four
differentes days, like I prove in my demo.
This was the deepest that I can go , may be is just a problem is Portuguese time
zone.
I had around the problem using
return calendar.timegm(gmt) + __extract_tzd(m) - time.timezone
instead of
return time.mktime(gmt) + __extract_tzd(m) - time.timezone
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WORKSFORME |
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.