homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author techtonik
Recipients brian.curtin, techtonik
Date 2010年02月09日.14:56:34
SpamBayes Score 0.0007989557
Marked as misclassified No
Message-id <1265727396.57.0.430573262472.issue7662@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2010年02月09日 14:56:37techtoniksetrecipients: + techtonik, brian.curtin
2010年02月09日 14:56:36techtoniksetmessageid: <1265727396.57.0.430573262472.issue7662@psf.upfronthosting.co.za>
2010年02月09日 14:56:34techtoniklinkissue7662 messages
2010年02月09日 14:56:34techtonikcreate

AltStyle によって変換されたページ (->オリジナル) /