[issue4923] time.strftime documentation needs update

Georg Brandl report at bugs.python.org
Sun Jan 18 15:42:37 CET 2009


Georg Brandl <georg at python.org> added the comment:

%f and %z are not standardized by C89 and therefore not always
available.  They fall under the clause "Additional directives may be
supported on certain platforms, but only the ones listed here have a
meaning standardized by ANSI C." which is noted for time.strftime().

datetime.strftime() implements %z (and %f from 2.6) separately,
therefore it is available there.

I've added a bit of clarification in r68726.

----------
resolution:  -> fixed
status: open -> closed

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


More information about the Python-bugs-list mailing list