[issue17267] datetime.time support for '+' and 'now'
Ronald Oussoren
report at bugs.python.org
Thu Feb 21 15:31:56 CET 2013
Ronald Oussoren added the comment:
IMHO this would to module 24 arithmetic, just like a normal clock.
When I do calculations with plain time that is what I want, if the date is also important I use datetime.datetime. That a time value silently truncates when going past midnight is IMHO also the obvious behavior.
The biggest argument against adding this functionality I could come up with is that this can give wrong answers when daylight savings time transitions happen, which could lead to subtle bugs.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17267>
_______________________________________
More information about the Python-bugs-list
mailing list