Issue 22857: strftime should support %f to print milliseconds (original) (raw)

Issue22857

Created on 2014-11-12 17:30 by tonn81, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg231085 - (view) Author: Артём Скорецкий (tonn81) Date: 2014-11-12 17:30
Now you cannot get milli (micro) seconds using strftime. It should be fixed. AFAIK %f should be the right pattern for this
msg231091 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2014-11-12 17:57
You are talking about time.strftime, I presume. datetime supports %f. time.strftime does not, because it wraps the system strftime, and that does not support %f (at least not on my linux system).
History
Date User Action Args
2022-04-11 14:58:10 admin set github: 67046
2014-11-12 17:57:46 r.david.murray set status: open -> closednosy: + r.david.murraymessages: + resolution: not a bugstage: resolved
2014-11-12 17:30:57 tonn81 create