This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients Daniel.O'Connor, akira, belopolsky, bignose, mumino, r.david.murray, santoso.wijaya, tim.peters, vstinner
Date 2014-06-29.18:09:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404065395.05.0.389613456169.issue12750@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
Date User Action Args
2014-06-29 18:09:55belopolskysetrecipients: + belopolsky, tim.peters, vstinner, r.david.murray, santoso.wijaya, akira, bignose, Daniel.O'Connor, mumino
2014-06-29 18:09:55belopolskysetmessageid: <1404065395.05.0.389613456169.issue12750@psf.upfronthosting.co.za>
2014-06-29 18:09:55belopolskylinkissue12750 messages
2014-06-29 18:09:55belopolskycreate