Message 182856 - Python tracker (original) (raw)
Message182856
Author | serhiy.storchaka |
---|---|
Recipients | frankmillman, ghaering, petri.lehtinen, pitrou, python-dev, serhiy.storchaka, thiderman |
Date | 2013-02-24.08:22:44 |
SpamBayes Score | -1.0 |
Marked as misclassified | Yes |
Message-id | 1361694164.59.0.684684903911.issue14720@psf.upfronthosting.co.za |
In-reply-to |
Content |
---|
convert_timestamp() can silently return wrong result if seconds saved with more than millisecond precision (i.e. '2012-04-04 15:06:00.000123456'). I propose or truncate fractional part to 6 digits ('{:0<6.6}') or explicitly raise an exception if len(timepart_full[1]) > 6. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2013-02-24 08:22:44 | serhiy.storchaka | set | recipients: + serhiy.storchaka, ghaering, pitrou, frankmillman, python-dev, petri.lehtinen, thiderman |
2013-02-24 08:22:44 | serhiy.storchaka | set | messageid: 1361694164.59.0.684684903911.issue14720@psf.upfronthosting.co.za |
2013-02-24 08:22:44 | serhiy.storchaka | link | issue14720 messages |
2013-02-24 08:22:44 | serhiy.storchaka | create |