Skip to content

[3.14] gh-124549: Document that strptime() uses the last directive when a time unit is over-specified (GH-125009) - #159951

Merged
Mariatta merged 1 commit into
python:3.14from
miss-islington:backport-fd6ed15-3.14
Oct 20, 2026
Merged

Mariatta merged 1 commit into
python:3.14from
miss-islington:backport-fd6ed15-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor
  • Add a note that when over-specifying datetime format, only the last directive gets used.

  • adjust and reorganize the notes location, fast forward to latest.

  • Update Doc/library/datetime.rst

Co-authored-by: Stan Ulbrych stan@python.org


(cherry picked from commit fd6ed15)

Co-authored-by: Mariatta Mariatta@users.noreply.github.com
Co-authored-by: Stan Ulbrych stan@python.org

…hen a time unit is over-specified (pythonGH-125009)

* Add a note that when over-specifying datetime format, only the last directive gets used.

* adjust and reorganize the notes location, fast forward to latest.

* Update Doc/library/datetime.rst

Co-authored-by: Stan Ulbrych <stan@python.org>

---------
(cherry picked from commit fd6ed15)

Co-authored-by: Mariatta <Mariatta@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <stan@python.org>
@Mariatta
Mariatta merged commit d621204 into python:3.14 Oct 20, 2026
42 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Oct 20, 2026
@miss-islington
miss-islington deleted the backport-fd6ed15-3.14 branch October 20, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants