[issue7582] [patch] diff.py to use iso timestamp
Brian Curtin
report at bugs.python.org
Sat Jan 9 22:22:37 CET 2010
Brian Curtin <curtin at acm.org> added the comment:
Using time.daylight is incorrect. time.daylight specifies the number of hours that the daylight offset is, not a flag to specify whether or not daylight savings time is in effect.
Steven's suggestion of using time.localtime().tm_isdst seems to be the better route.
----------
priority: -> normal
stage: -> patch review
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7582>
_______________________________________
More information about the Python-bugs-list
mailing list