Message121956
| Author |
rbp |
| Recipients |
belopolsky, eric.araujo, ezio.melotti, ingo.janssen, rbp |
| Date |
2010年11月21日.18:24:39 |
| SpamBayes Score |
2.1796911e-06 |
| Marked as misclassified |
No |
| Message-id |
<1290363882.13.0.672986752312.issue10427@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I was writing tests for this issue, when something struck me: ok, datetime(year, month, day, 24) is valid. But is datetime(year, month, day, 24, 1) valid? Or datetime(year, month, day, 24, 0, 0, 1)?
I would say those aren't valid, although that makes checking forvalid hour values slightly weird (as in not straightforward): 24 is valid if minutes, seconds and microseconds are all 0, but invalid otherwise.
What do you think? |
|