Message244201
| Author |
MajeedArni |
| Recipients |
MajeedArni, eryksun, ned.deily, python-dev, r.david.murray, steve.dower, tim.golden, yselivanov, zach.ware |
| Date |
2015年05月27日.17:07:28 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1432746448.86.0.702137572784.issue24244@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Though %f is a valid format from Python's doc https://docs.python.org/2/library/datetime.html, the fix just ignores it on Windows? can we atleast get milliseconds on Windows and Micro on Linux?
%f Microsecond as a decimal number, zero-padded on the left. 000000, 000001, ..., 999999 (4)
%f is an extension to the set of format characters in the C standard (but implemented separately in datetime objects, and therefore always available). When used with the strptime() method, the %f directive accepts from one to six digits and zero pads on the right.
New in version 2.6. |
|