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 belopolsky
Recipients belopolsky, datacompboy, georg.brandl
Date 2008-04-07.19:27:20
SpamBayes Score 0.057648793
Marked as misclassified No
Message-id <1207596442.88.0.303067902446.issue2568@psf.upfronthosting.co.za>
In-reply-to
Content
OP does not have the reference, but the issue is apparently in the time
and datetime modules documentation:

http://docs.python.org/dev/library/time.html#time.strftime
http://docs.python.org/dev/library/datetime.html#strftime-behavior

Note that datetime's doc is twice incorrect because leap seconds are not
supported by the datetime module at all:

>>> from datetime import *
>>> time(23,59,60)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: second must be in 0..59
>>> datetime.strptime('20000101T235960', '%Y%m%dT%H%M%S')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: second must be in 0..59
History
Date User Action Args
2008-04-07 19:27:23belopolskysetspambayes_score: 0.0576488 -> 0.057648793
recipients: + belopolsky, georg.brandl, datacompboy
2008-04-07 19:27:22belopolskysetspambayes_score: 0.0576488 -> 0.0576488
messageid: <1207596442.88.0.303067902446.issue2568@psf.upfronthosting.co.za>
2008-04-07 19:27:20belopolskylinkissue2568 messages
2008-04-07 19:27:20belopolskycreate