Martin Panter <vadmium...@gmail.com> added the comment:

According to Wikipedia, there were 24 leap seconds before Feb 2009. So my guess 
is Eitan’s “gmtime” implementation is calculating the date as if the timestamp 
(1234567899) includes leap seconds, as in 
<https://en.wikipedia.org/wiki/Unix_time#TAI-based_variant>. But according to 
Posix, the calculation should be for exactly 86400 timestamp seconds per day, 
and it should not adjust for leap seconds.

----------
nosy: +martin.panter

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33579>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to