[issue14653] Improve mktime_tz to use calendar.timegm instead of time.mktime

Jakub Wilk report at bugs.python.org
Mon Jun 17 14:15:43 CEST 2013


Jakub Wilk added the comment:

The documentations says "Minor deficiency: mktime_tz() interprets the first 8 elements of tuple as a local time and then compensates for the timezone difference. This may yield a slight error around changes in daylight savings time, though not worth worrying about for common use."

Now that this bug has been fixed, this no longer true. Please update the documentation. :)

----------
nosy: +jwilk

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14653>
_______________________________________


More information about the Python-bugs-list mailing list