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 pitrou
Recipients akira, pitrou, regu0004, terry.reedy
Date 2014-09-01.12:24:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1409574269.46.0.586459633318.issue22296@psf.upfronthosting.co.za>
In-reply-to
Content
Note the .timestamp() method will work correctly if the datetime object is expressed in *local time*, which is not what Rebecka's code uses. Otherwise the incantation is a bit more complex:

https://docs.python.org/3/library/datetime.html#datetime.datetime.timestamp

(also .timestamp() doesn't exist in 2.7, in which case the manual computation must also be used)
History
Date User Action Args
2014-09-01 12:24:29pitrousetrecipients: + pitrou, terry.reedy, akira, regu0004
2014-09-01 12:24:29pitrousetmessageid: <1409574269.46.0.586459633318.issue22296@psf.upfronthosting.co.za>
2014-09-01 12:24:29pitroulinkissue22296 messages
2014-09-01 12:24:29pitroucreate