[Python-ideas] Please reconsider the Boolean evaluation of midnight
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu Mar 6 08:33:43 CET 2014
Bruce Leban wrote:
> Except this isn't it. That's only works for naive times. For aware times:
>
> 00:00:00+00:00 = midnight England = midnight UTC => False
> 00:00:00+01:00 = midnight France = 2300 UTC => True
> 01:00:00+01:00 = 1 am France = midnight UTC => False
> 19:00:00-05:00 = 1 am Boston = midnight UTC => True
That's... I don't know what it is.
Is there a rationale for this? I'm totally failing
to see it.
--
Greg
More information about the Python-ideas
mailing list