[issue7582] [patch] diff.py to use iso timestamp

Brian Curtin report at bugs.python.org
Sun Jan 10 19:46:24 CET 2010


Brian Curtin <curtin at acm.org> added the comment:

The documentation could use some work. It means that if the timezone does use a daylight savings time period, time.daylight specifies the amount of the offset. In my timezone this value is 1. However, time.localtime().is_dst is currently 0, because we are not on savings time.

For that reason, using time.daylight in your patch gives an incorrect result for me.

----------

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


More information about the Python-bugs-list mailing list