[issue1726687] Bug found in datetime for Epoch time = -1
Amaury Forgeot d'Arc
report at bugs.python.org
Sat Nov 15 23:33:48 CET 2008
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
on Windows (with Visual Studio), mktime() also sets tm_wday only if
successful.
But negative time_t are still not allowed by the Microsoft CRT, the
tests fail.
There are workaround to this - for example python could use techniques
similar to http://robertinventor.com/software/t64/
OTOH, the docs of the time module explicitly says that dates before the
Epoch are not handled. Do you want to change this? in other words: is
this a bug or a feature request?
http://docs.python.org/library/time.html
----------
nosy: +amaury.forgeotdarc
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1726687>
_______________________________________
More information about the Python-bugs-list
mailing list