Message365224
Could this be revisited?
Especially now that datetime supports `fromisoformat`, as there are valid ISO8601 timestamps in UTC out there, that contain the leap seconds, e.g. files describing when those occured or will occur.
E.g. the NTP Leap second file:
https://kb.meinbergglobal.com/kb/time_sync/ntp/configuration/ntp_leap_second_file
This get's synced on linux to `/usr/share/zoneinfo/leapseconds` and could even be used by python to lookup when leap seconds occured.
The datetime also gained a fold argument, which if it is not wanted to support second values of 60 to at least be able to parse those.
The 60th second of a minute is a reality with our current civil time keeping, so python should be able to handle it. |
|
Date |
User |
Action |
Args |
2020-03-28 18:42:57 | maxnoe | set | recipients:
+ maxnoe, lemburg, belopolsky, vstinner, doughellmann, akira, dlroo |
2020-03-28 18:42:57 | maxnoe | set | messageid: <1585420977.18.0.809026080165.issue23574@roundup.psfhosted.org> |
2020-03-28 18:42:57 | maxnoe | link | issue23574 messages |
2020-03-28 18:42:57 | maxnoe | create | |
|