[docs] [issue20281] time.strftime %z format specifier is the same as %Z

R. David Murray report at bugs.python.org
Thu Jan 16 20:06:21 CET 2014


R. David Murray added the comment:

Please see the footnote on the 'time' documentation page.  It sounds like Windows is treating %z as if was %Z.

There should be a reference to that footnote from the %z table entry, so that's a doc bug.  Might also be worth explicitly mentioning this weird Windows behavior.

FYI, you can use the strftime functionality of the datetime module to get cross platform %z support.

----------
assignee:  -> docs at python
components: +Documentation -Library (Lib)
nosy: +docs at python, r.david.murray
stage:  -> needs patch
versions: +Python 3.4 -Python 3.3

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


More information about the docs mailing list