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 Mike.Owens
Recipients Mike.Owens
Date 2014-01-16.18:35:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389897342.88.0.737767593135.issue20281@psf.upfronthosting.co.za>
In-reply-to
Content
When using strftime from the time module on 64bit Python for Windows the format specifier %z gives the time zone name instead of the time zone offset as stated in the documentation.

eg
>>> strftime("%z")
'US Mountain Standard Time'
>>> strftime("%Z")
'US Mountain Standard Time'

The expected output for my time zone is -7:00.
History
Date User Action Args
2014-01-16 18:35:42Mike.Owenssetrecipients: + Mike.Owens
2014-01-16 18:35:42Mike.Owenssetmessageid: <1389897342.88.0.737767593135.issue20281@psf.upfronthosting.co.za>
2014-01-16 18:35:42Mike.Owenslinkissue20281 messages
2014-01-16 18:35:42Mike.Owenscreate