la colpa รจ di time.localtime: converte da un timestamp ad un tempo
locale, non utc

usa datetime.datetime.utcfromtimestamp


Alcuni suggeriscono di usare mxDateTime, che pare sia un po' meno
errorprone del builtin python, ma personalmente non l'ho mai usato:

https://pypi.python.org/pypi/egenix-mx-base/
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a