[issue2568] Seconds range in time unit

Anton Fedorov report at bugs.python.org
Mon Apr 7 21:42:26 CEST 2008


Anton Fedorov <datacompboy at call2ru.com> added the comment:

There no leap second in 2000th.
But correct time request fails:
>>> datetime.strptime('19951231T235960', '%Y%m%dT%H%M%S')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: second must be in 0..59

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2568>
__________________________________


More information about the Python-bugs-list mailing list