Skip to content

[3.12] gh-70647: update docs to mention the datetime 1900 year default 2/29 issue - #131534

Merged
gpshead merged 2 commits into
python:3.12from
gpshead:gh-70647-backport-3.12
Mar 21, 2025
Merged

[3.12] gh-70647: update docs to mention the datetime 1900 year default 2/29 issue#131534
gpshead merged 2 commits into
python:3.12from
gpshead:gh-70647-backport-3.12

Conversation

@gpshead

@gpsheadgpshead commented Mar 21, 2025

Copy link
Copy Markdown
Member

…datetime.
Every four years people encounter this because it just isn't obvious.
This moves the footnote up to a note with a code example.
We'd love to change the default year value for datetime but doing
that could have other consequences for existing code. This documented
workaround *always* works.
@bedevere-appbedevere-appBot added docs Documentation in the Doc dir skip news awaiting core review labels Mar 21, 2025
@gpsheadgpshead changed the title gh-70647: [3.12] update docs to mention the datetime 1900 year default 2/29 issue[3.12] gh-70647: update docs to mention the datetime 1900 year default 2/29 issueMar 21, 2025
@gpshead
gpshead merged commit 3eb7a90 into python:3.12Mar 21, 2025
@github-project-automationgithub-project-automationBot moved this from Todo to Done in Docs PRsMar 21, 2025
@gpshead
gpshead deleted the gh-70647-backport-3.12 branch March 21, 2025 04:50
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant

@gpshead