[docs] [issue29026] time.time() documentation should mention UTC timezone

Marc-Andre Lemburg report at bugs.python.org
Tue Dec 20 09:59:11 EST 2016


Marc-Andre Lemburg added the comment:

time.time() is not quite UTC on Unix: it usually (*) doesn't include leap seconds, which UTC does.

The Wikipedia page has a good definition and explanation:

https://en.wikipedia.org/wiki/Unix_time

(*) "usually" because POSIX defines time() to not include leap seconds, but on some older or not quite POSIX compliant Unix systems, leap seconds are included.

----------
nosy: +lemburg

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29026>
_______________________________________


More information about the docs mailing list