Skip to content

gh-99032: datetime docs: Encoding is no longer relevant#93365

Merged
pganssle merged 3 commits intopython:mainfrom
wjandrea:patch-2
Apr 24, 2023
Merged

gh-99032: datetime docs: Encoding is no longer relevant#93365
pganssle merged 3 commits intopython:mainfrom
wjandrea:patch-2

Conversation

@wjandrea
Copy link
Copy Markdown
Contributor

@wjandrea wjandrea commented May 30, 2022

The .strftime() methods return a Unicode string as of Python 3.0.


For reference, under the hood, the .strftime() methods use time.strftime(), whose return value is defined here for the current tip of the main branch and here for 3.0.


Please check my work before merging to make sure I've understood what the docs are saying. I'm also not super familiar with C or RST, but I'm quite sure I've understood them correctly.

Backports should be made to all current versions.


BTW, encoding isn't mentioned in the time docs, so no changes required there I don't think.

Loading
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

None yet

Development

Successfully merging this pull request may close these issues.