Message195008
The documentation for the `%S` formatter suggests that it supports leap seconds, but the footnote contradicts that:
> The range really is 0 to 61; according to the Posix standard this
> accounts for leap seconds and the (very rare) double leap seconds.
> The time module may produce and does accept leap seconds since it is
> based on the Posix standard, but the datetime module does not accept
> leap seconds in strptime() input nor will it produce them in
> strftime() output.
I propose that the documentation be updated to mirror the 3.X documentation: no leap second in the example and a footnote which makes note of that and suggests using the time module. |
|
Date |
User |
Action |
Args |
2013-08-12 20:29:36 | wolever | set | recipients:
+ wolever |
2013-08-12 20:29:36 | wolever | set | messageid: <1376339376.74.0.0279691228671.issue18718@psf.upfronthosting.co.za> |
2013-08-12 20:29:36 | wolever | link | issue18718 messages |
2013-08-12 20:29:36 | wolever | create | |
|