[issue12758] time.time() returns local time instead of UTC

2011-08-16 Thread Maxim Koltsov
Maxim Koltsov added the comment: Seems OK to me. -- ___ Python tracker <http://bugs.python.org/issue12758> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12758] time.time() returns local time instead of UTC

2011-08-16 Thread Maxim Koltsov
Maxim Koltsov added the comment: Maybe add some words about local timezone? -- ___ Python tracker <http://bugs.python.org/issue12758> ___ ___ Python-bugs-list m

[issue12758] time.time() returns local time instead of UTC

2011-08-16 Thread Maxim Koltsov
Maxim Koltsov added the comment: Then docs must be fixed. By the way, help(time.time) correctly says about localtime. -- ___ Python tracker <http://bugs.python.org/issue12

[issue12758] time.time() returns local time instead of UTC

2011-08-16 Thread Maxim Koltsov
New submission from Maxim Koltsov : Python docs (http://docs.python.org/library/time.html#time.time) say that time.time() function should return UTC timestamp, but actually i get local one: >>> time.mktime(time.gmtime()), time.time(), time.mktime(time.localtime()) (131