-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-118948: add support for ISO 8601 basic format to datetime
#120553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It needs some polishing and simplification in my opinion, especially tests, but looks very good in general :-)
Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we can leave refactoring for later. LGTM :-)
In addition to
date
anddatetime
,datetime.time
also supports ISO 8601 basic format (the rationale is to make it consistent).📚 Documentation preview 📚: https://cpython-previews--120553.org.readthedocs.build/