[issue4086] support %z format in time.strftime and _strptime?
Alexander Belopolsky
report at bugs.python.org
Thu Oct 14 19:54:49 CEST 2010
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
Closing as a duplicate of (closed) issue 6641.
time.strftime appears to support %z on the platforms that support it in C strftime:
>>> time.strftime("%z", time.localtime())
'-0400'
----------
dependencies: -No obvious and correct way to get the time zone offset
resolution: -> duplicate
superseder: -> datetime.strptime doesn't support %z format ?
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4086>
_______________________________________
More information about the Python-bugs-list
mailing list