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

Brian Curtin report at bugs.python.org
Mon Dec 28 18:59:45 CET 2009


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

Look at time.timezone -
http://docs.python.org/library/time.html#time.timezone

# I'm in US Central time, so it's -6 from UTC
>>> import time
>>> tz = time.timezone
>>> tz
21600
>>> tz / 60 / 60
6

----------
nosy: +brian.curtin

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


More information about the Python-bugs-list mailing list