[issue1777412] datetime.strftime dislikes years before 1900

STINNER Victor report at bugs.python.org
Sat Jan 8 01:26:20 CET 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Here is a patch removing the arbitrary datetime.strftime() limit on year: it adds an option "accept2dyear" to time.strftime() and datetime just sets this option to False.

----------
Added file: http://bugs.python.org/file20309/datetime_strftime_nolimit.diff

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


More information about the Python-bugs-list mailing list