[Python-Dev] datetime module enhancements

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Mar 12 05:43:12 CET 2007


Jon Ribbens wrote:
> Steven Bethard <steven.bethard at gmail.com> wrote:
>
>>    We know that:
>>    date(2006, 1, 1) *Includes* datetime(2006, 1, 1, 0, 0, 1)
> 
> Oh dear. You've fallen at the first hurdle. We do not know that.

Translated into English, this is saying "The 1st of January
2006 includes the time one minute past midnight on the
1st of January 2006." That doesn't seem a very controversial
thing to believe.

--
Greg


More information about the Python-Dev mailing list