[issue1726687] Bug found in datetime for Epoch time = -1

STINNER Victor report at bugs.python.org
Fri Jan 30 01:05:29 CET 2009


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

My test included in mktime_fix_and_tests.patch has a problem: the 
timezone is constant and it's mine (GMT+1). I don't know how to write 
a generic test working on any time zone. I can't use 
datetime.fromtimestamp() because datetime.fromtimestamp() uses 
time.mktime() :-)

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


More information about the Python-bugs-list mailing list