]> granicus.if.org Git - python/commit
I give up: unless I write my own strftime by hand, datetime just can't
authorTim Peters <tim.peters@gmail.com>
Sun, 22 Dec 2002 20:58:42 +0000 (20:58 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 22 Dec 2002 20:58:42 +0000 (20:58 +0000)
commitd6844155725af2eb53a9bc5beb74521c4d212365
tree36e7a57691b30b91562fd54149777938ec5a4d36
parent83b85f1d6cce999e0d85f669df71a520632a4c87
I give up:  unless I write my own strftime by hand, datetime just can't
be trusted with years before 1900, so now we raise ValueError if a date or
datetime or datetimetz .strftime() method is called with a year before
1900.
Lib/test/test_datetime.py
Modules/datetimemodule.c