This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/4033] mktime bug in Europe/Lisbon timezone


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]