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-10.18:46:22
SpamBayes Score 0.000396074
Marked as misclassified No
Message-id <1263149184.05.0.31752933309.issue7582@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation could use some work. It means that if the timezone does use a daylight savings time period, time.daylight specifies the amount of the offset. In my timezone this value is 1. However, time.localtime().is_dst is currently 0, because we are not on savings time.

For that reason, using time.daylight in your patch gives an incorrect result for me.
History
Date User Action Args
2010-01-10 18:46:24brian.curtinsetrecipients: + brian.curtin, amaury.forgeotdarc, techtonik, srumbalski
2010-01-10 18:46:24brian.curtinsetmessageid: <1263149184.05.0.31752933309.issue7582@psf.upfronthosting.co.za>
2010-01-10 18:46:22brian.curtinlinkissue7582 messages
2010-01-10 18:46:22brian.curtincreate