[Python-ideas] bool(datetime.time(0, 0))
Mark Lawrence
breamoreboy at yahoo.co.uk
Mon May 7 19:44:34 CEST 2012
On 07/05/2012 18:27, Terry Reedy wrote:
> It is only special in the representation because 24:00 == 00:00. I have
> the impression that European train timetables at least in decades past
> printed midnight arrival times as 24:00 instead of 00:00. I agree that
> that is an extremely thin reason for the current behavior. Someone
> printing timetables in that style should explicitly test arrivals for
> being midnight.
>
> There have been cultures that started the day at dawn or noon, and in
> the US at least, we still restart half-days at both noon and midnight,
> so both would be special here.
>
My understanding is that 24:00 hours is only really used by the military
to avoid misunderstanding over the actual day they're talking about.
The night of 5th/6th June 1944 springs to my mind. I'll happily be
corrected.
--
Cheers.
Mark Lawrence.
More information about the Python-ideas
mailing list