[issue10427] 24:00 Hour in DateTime

ingo janssen report at bugs.python.org
Sun Nov 21 20:19:01 CET 2010


ingo janssen <ingoogni at gmail.com> added the comment:

On Sun, Nov 21, 2010 at 7:24 PM, Rodrigo Bernardo Pimentel wrote:

> I would say those aren't valid, although that makes checking forvalid hour values slightly weird
>(as in not straightforward): 24 is valid if minutes, seconds and microseconds are all 0, but invalid
>otherwise.

Indeed anything beyond 24:0:0 is invalid

ingo

----------

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


More information about the Python-bugs-list mailing list