[Python-ideas] bool(datetime.time(0, 0))

Alexander Belopolsky alexander.belopolsky at gmail.com
Mon May 7 20:01:19 CEST 2012


On Mon, May 7, 2012 at 1:49 PM, M.-A. Lemburg <mal at egenix.com> wrote:
>> 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.
>
> It's in common use in Germany, e.g. for describing opening hours.

Properly supporting 24:00 timestamps in datetime module is actually a
more interesting issue than what bool(time(0)) should be.  See
http://bugs.python.org/issue10427



More information about the Python-ideas mailing list