Message99119
Updated Python code according to discussion from aforementioned issue #7582. Unfortunately, I can't find Python source for `time` module to make a proper patch out of it.
def time.utcoffset():
"""Return current UTC offset in seconds"""
isdst = time.localtime().tm_isdst
if (time.daylight and isdst):
return -time.altzone
else:
return -time.timezone |
|
Date |
User |
Action |
Args |
2010-02-09 14:56:37 | techtonik | set | recipients:
+ techtonik, brian.curtin |
2010-02-09 14:56:36 | techtonik | set | messageid: <1265727396.57.0.430573262472.issue7662@psf.upfronthosting.co.za> |
2010-02-09 14:56:34 | techtonik | link | issue7662 messages |
2010-02-09 14:56:34 | techtonik | create | |
|