-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Update str*time to C11 format codes #140715
Copy link
Copy link
Open
0 / 10 of 1 issue completedLabels
docsDocumentation in the Doc dirDocumentation in the Doc dirstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytestsTests in the Lib/test dirTests in the Lib/test dirtype-featureA feature request or enhancementA feature request or enhancement
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytestsTests in the Lib/test dirTests in the Lib/test dirtype-featureA feature request or enhancementA feature request or enhancement
Projects
Status
No status
Status
Todo
Feature or enhancement
There are several things to do, these are already supported by
strftimebut some (support for a few was added recently but not documented) are not supported bystrptime(e.g.%tis not supported).%f, and quite a few codes are missing.strftimetests, they were written when the format codes were not expected.strptime, e.g.%n.strptimecollapses whitespace,%tan%nI will be working on this and most likely extending this list.
Linked PRs
datetime.*.str*timeformat code tables #140716%Dformat code support tostrptime()#144819