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 brian.curtin
Recipients amaury.forgeotdarc, brian.curtin, srumbalski, techtonik
Date 2010-01-09.21:22:36
SpamBayes Score 1.8935591e-06
Marked as misclassified No
Message-id <1263072157.97.0.767061131058.issue7582@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-01-09 21:22:38brian.curtinsetrecipients: + brian.curtin, amaury.forgeotdarc, techtonik, srumbalski
2010-01-09 21:22:37brian.curtinsetmessageid: <1263072157.97.0.767061131058.issue7582@psf.upfronthosting.co.za>
2010-01-09 21:22:36brian.curtinlinkissue7582 messages
2010-01-09 21:22:36brian.curtincreate