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 vstinner
Recipients belopolsky, hollec, jjlee, python-dev, vstinner
Date 2011-03-21.02:04:20
SpamBayes Score 1.8383159e-06
Marked as misclassified No
Message-id <1300673061.67.0.296930716396.issue5537@psf.upfronthosting.co.za>
In-reply-to
Content
> While it is unlikely that a purely numeric format such as "%Y-%m-%d
> %H:%M:%S" will be locale dependent, it is possible that some pre-C99
> systems would format dates using exotic digits is some locales.

Ok, I rewrote my patch to avoid strftime(). It should now be fixed.

FYI datetime.fromtimestamp() converts the timestamp to a double, which has a precision of 53 bits (no precision loss for year < 285,422,890 and so it's enough for year 2038).
History
Date User Action Args
2011-03-21 02:04:21vstinnersetrecipients: + vstinner, jjlee, belopolsky, hollec, python-dev
2011-03-21 02:04:21vstinnersetmessageid: <1300673061.67.0.296930716396.issue5537@psf.upfronthosting.co.za>
2011-03-21 02:04:20vstinnerlinkissue5537 messages
2011-03-21 02:04:20vstinnercreate