Author belopolsky
Recipients Amber.Yust, Andreas.Pelme, Lakin.Wecker, belopolsky, cvrebert, dstufft, georg.brandl, gwrtheyrn, lemburg, merwok, ncoghlan, r.david.murray, shai, tim.peters, yselivanov
Date 2014-03-06.01:59:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394071150.71.0.0792784999748.issue13936@psf.upfronthosting.co.za>
In-reply-to
Content
> You're trying to count midnight as the previous day instead of the actual day?

yes

> That seems extremely contrived

Why?  Midnight can be considered to be the last moment of the day or the first moment of the day.  In ISO standard there are separate notations for those: 24:00 and 00:00.  Python does not allow time(24), so an application that considers midnight to be the last moment of the day has to treat time(0) exceptionally.

See also #10427.
History
Date User Action Args
2014-03-06 01:59:10belopolskysetrecipients: + belopolsky, lemburg, tim.peters, georg.brandl, ncoghlan, merwok, r.david.murray, cvrebert, gwrtheyrn, Lakin.Wecker, yselivanov, shai, dstufft, Andreas.Pelme, Amber.Yust
2014-03-06 01:59:10belopolskysetmessageid: <1394071150.71.0.0792784999748.issue13936@psf.upfronthosting.co.za>
2014-03-06 01:59:10belopolskylinkissue13936 messages
2014-03-06 01:59:10belopolskycreate