[issue12758] time.time() returns local time instead of UTC
report at bugs.python.org
Wed Aug 17 02:42:02 CEST 2011
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
> Return the local time as a floating point number
> expressed in seconds since the epoch.
No. Seconds since the epoch is neither local nor UTC. It is just an elapsed number of seconds since an agreed upon time called the "epoch".
I would say: "Return the current time as a floating point number representing the number of seconds elapsed since the epoch." Suggestions for a shorter formulation that would not change the meaning are welcome. Maybe "Return the number of seconds elapsed since the epoch as a floating point number."
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list