Skip to content

Update str*time to C11 format codes #140715

@StanFromIreland

Description

@StanFromIreland

Feature or enhancement

There are several things to do, these are already supported by strftime but some (support for a few was added recently but not documented) are not supported by strptime (e.g. %t is not supported).

  • Update docs, currently the table is a bit messy with non-standard format codes listed, i.e. %f, and quite a few codes are missing.
  • Refactor strftime tests, they were written when the format codes were not expected.
  • Complete strptime, e.g. %n.
  • Consider: Add an entry to What's New

I will be working on this and most likely extending this list.

Linked PRs

Sub-issues

Metadata

Metadata

Labels

docsDocumentation in the Doc dirstdlibStandard Library Python modules in the Lib/ directorytestsTests in the Lib/test dirtype-featureA feature request or enhancement

Projects

Status

No status

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions