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 r.david.murray
Recipients Mariatta, belopolsky, r.david.murray
Date 2016-11-18.16:23:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479486207.83.0.705292943831.issue28159@psf.upfronthosting.co.za>
In-reply-to
Content
No, localtime does something subtly different, in that it will accept a naive datetime add the local timezone to it.  Calling localtime() is also more convenient/readable than calling datetime.now().astimezone().
History
Date User Action Args
2016-11-18 16:23:27r.david.murraysetrecipients: + r.david.murray, belopolsky, Mariatta
2016-11-18 16:23:27r.david.murraysetmessageid: <1479486207.83.0.705292943831.issue28159@psf.upfronthosting.co.za>
2016-11-18 16:23:27r.david.murraylinkissue28159 messages
2016-11-18 16:23:27r.david.murraycreate