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 deronnax
Recipients deronnax
Date 2013-11-14.14:51:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384440715.52.0.843709066707.issue19583@psf.upfronthosting.co.za>
In-reply-to
Content
function time.strftime fails to use '%:z' time formatter of the underlying library. Passing it does not format time accordingly but returns it as if it was a non-formatting string.

Simple reproduction, on Linux:
$ date +%:z
+01:00
$ python -c 'import time;print time.strftime("%:z")'
%:z

%z works fine, any of the other middle-colon variant (glibc also have %::z, %:::z) have the same problem.

Reproduced with python 2.7 and 3.3
History
Date User Action Args
2013-11-14 14:51:55deronnaxsetrecipients: + deronnax
2013-11-14 14:51:55deronnaxsetmessageid: <1384440715.52.0.843709066707.issue19583@psf.upfronthosting.co.za>
2013-11-14 14:51:55deronnaxlinkissue19583 messages
2013-11-14 14:51:55deronnaxcreate