Eryk Sun added the comment:
%z works correctly in the new CRT that's used by 3.5:
Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:54:25)
[MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.strftime('%z', time.localtime(time.time()))
'-0000'
>>> time.strftime('%Z', time.localtime(time.time()))
'Coordinated Universal Time'
----------
assignee: -> docs@python
components: +Documentation
nosy: +docs@python, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
versions: +Python 2.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue20010>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com