[issue2568] Seconds range in time unit

Alexander Belopolsky report at bugs.python.org
Mon Apr 7 22:04:35 CEST 2008

Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

On Mon, Apr 7, 2008 at 3:42 PM, Anton Fedorov <report at bugs.python.org> wrote:

>  There no leap second in 2000th.

I was just too lazy too look up the leap second year, but datetime
module knows nothing about leap seconds, so I did not expect different
behavior for years 1995 and 2000.

>  But correct time request fails:
>  >>> datetime.strptime('19951231T235960', '%Y%m%dT%H%M%S')


Tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list