[docs] [issue20010] time.strftime('%z') didn't make +HHMM return in windows xp

Eryk Sun report at bugs.python.org
Thu Feb 18 02:08:14 EST 2016


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 at python
components: +Documentation
nosy: +docs at python, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
versions: +Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20010>
_______________________________________


More information about the docs mailing list