Message237144
Leap seconds are ignored, so a difference of <datetime before the leap second> and <datetime with the leap second> is zero:
>>> import datetime
>>> t1=datetime.datetime(2012, 6, 30, 23, 59, 59)
>>> t2=datetime.datetime(2012, 6, 30, 23, 59, 59)
>>> t2-t1
datetime.timedelta(0)
Supporting leap seconds might be possible, but it requires much more work. |
|
Date |
User |
Action |
Args |
2015-03-03 14:52:00 | vstinner | set | recipients:
+ vstinner, belopolsky |
2015-03-03 14:52:00 | vstinner | set | messageid: <1425394320.59.0.238705013185.issue23574@psf.upfronthosting.co.za> |
2015-03-03 14:52:00 | vstinner | link | issue23574 messages |
2015-03-03 14:52:00 | vstinner | create | |
|