Skip to content

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

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

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

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>
@read-the-docs-community

Copy link
Copy Markdown

@Mariatta
Mariatta merged commit 8e00228 into python:3.15 Oct 20, 2026
43 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.15 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