[Python-ideas] Please reconsider the Boolean evaluation of midnight

Andrew Barnert abarnert at yahoo.com
Fri Mar 7 03:19:40 CET 2014


From: Tim Peters <tim.peters at gmail.com>

Sent: Thursday, March 6, 2014 5:51 PM


> Filling in the blanks, I presume that Donald's "EST" is what the 
> docs
> call a "fixed-offset" tzinfo subclass:  it represents a fixed offset
> from UTC.  It's what a US East Coast clock would look like if the
> idiotic ;-) "daylight saving" rules were repealed, and the East Coast
> stayed on "standard" time forever.

Except that it still wouldn't work for dates before 2014. Or, of course, if DST were reinstated in the future.

If I were dictator of the world, I would ban DST. And 12-hour times. And MDY date formats. In fact, I would probably ban timezones. How hard would it be to learn that on the east coast you work from 0400-1200, not 9:00am-5:00pm?



More information about the Python-ideas mailing list