This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author krzaq
Recipients filip.zyzniewski, krzaq
Date 2013-10-04.11:52:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1380887522.54.0.10872055906.issue19162@psf.upfronthosting.co.za>
In-reply-to
Content
works correctly on python3.3:
Python 3.3.2 (default, Oct  4 2013, 12:21:07)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime
>>> datetime.datetime.min.strftime('%Y')
'0001'

issue on 2.7:
Python 2.7.5 (default, Sep 17 2013, 12:11:31)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime
>>> datetime.datetime.min.strftime('%Y')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: year=1 is before 1900; the datetime strftime() methods require year >= 1900
History
Date User Action Args
2013-10-04 11:52:02krzaqsetrecipients: + krzaq, filip.zyzniewski
2013-10-04 11:52:02krzaqsetmessageid: <1380887522.54.0.10872055906.issue19162@psf.upfronthosting.co.za>
2013-10-04 11:52:02krzaqlinkissue19162 messages
2013-10-04 11:52:02krzaqcreate