[New-bugs-announce] [issue24517] %z does not work in time.strftime()
dendory
report at bugs.python.org
Fri Jun 26 21:13:45 CEST 2015
New submission from dendory:
Using `%z` gives the same result as using `%Z` in `time.strftime()`:
Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:43:06) [MSC v.1600 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.strftime("%z")
'Eastern Daylight Time'
>>> time.strftime("%Z")
'Eastern Daylight Time'
Instead it's supposed to give a +0000 or -0000 result.
----------
messages: 245860
nosy: dendory
priority: normal
severity: normal
status: open
title: %z does not work in time.strftime()
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24517>
_______________________________________
More information about the New-bugs-announce
mailing list