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.89356e-06
Marked as misclassified No
Message-id <>
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.
Date User Action Args
2010-01-09 21:22:38brian.curtinsetrecipients: + brian.curtin, amaury.forgeotdarc, techtonik, srumbalski
2010-01-09 21:22:37brian.curtinsetmessageid: <>
2010-01-09 21:22:36brian.curtinlinkissue7582 messages
2010-01-09 21:22:36brian.curtincreate