[issue7699] strptime, strftime documentation

Michael Stephens report at bugs.python.org
Thu Jan 14 06:38:17 CET 2010


Michael Stephens <me at mikej.st> added the comment:

I think it's referring to:

>>> datetime.time(10, 34, 6).strftime("%Y-%m-%d %H:%M:%S")
'1900-01-01 10:34:06'

and thus still applies. It is wrong about month and day being replaced by '0', however, and I've updated the patch to change that to '1'.

----------
Added file: http://bugs.python.org/file15868/strptime.diff

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


More information about the Python-bugs-list mailing list