commit | d6844155725af2eb53a9bc5beb74521c4d212365 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Sun Dec 22 20:58:42 2002 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Sun Dec 22 20:58:42 2002 +0000 |
tree | 36e7a57691b30b91562fd54149777938ec5a4d36 | |
parent | 83b85f1d6cce999e0d85f669df71a520632a4c87 [diff] |
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.