Message221872
Here is the simpler demonstration of the "floor" behavior on Linux:
>>> from datetime import datetime
>>> datetime.fromtimestamp(-0.1).strftime('%s')
'-1'
>>> datetime.fromtimestamp(-1.1).strftime('%s')
'-2'
>>> datetime.fromtimestamp(0.1).strftime('%s')
'0'
>>> datetime.fromtimestamp(1.1).strftime('%s')
'1' |
|
Date |
User |
Action |
Args |
2014-06-29 18:09:55 | belopolsky | set | recipients:
+ belopolsky, tim.peters, vstinner, r.david.murray, santoso.wijaya, akira, bignose, Daniel.O'Connor, mumino |
2014-06-29 18:09:55 | belopolsky | set | messageid: <1404065395.05.0.389613456169.issue12750@psf.upfronthosting.co.za> |
2014-06-29 18:09:55 | belopolsky | link | issue12750 messages |
2014-06-29 18:09:55 | belopolsky | create | |
|