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 benno
Recipients
Date 2007-08-20.03:36:14
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Python 2.5 (r25:51918, Sep 19 2006, 08:49:13) 
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime
>>> datetime.date(1876, 2, 3).strftime('%Y-%m-%d')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: year=1876 is before 1900; the datetime strftime() methods require year >= 1900


Apparently this is due to platform-specific weirdnesses in implementations of strftime.  It is still very annoying however.  Perhaps a good implementation of strftime could be found and incorporated into Python itself?
History
Date User Action Args
2007-08-23 16:12:57adminlinkissue1777412 messages
2007-08-23 16:12:57admincreate