-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
datetime
documentation regarding ISO8601 reduced precision and extend representation
#105031
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
Labels
docs
Documentation in the Doc dir
Comments
serhiy-storchaka
pushed a commit
that referenced
this issue
Feb 1, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Feb 1, 2024
…-105049) (cherry picked from commit e9dab65) Co-authored-by: Nicholas Hollander <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Feb 1, 2024
…-105049) (cherry picked from commit e9dab65) Co-authored-by: Nicholas Hollander <[email protected]>
This was referenced Feb 1, 2024
serhiy-storchaka
pushed a commit
that referenced
this issue
Feb 1, 2024
…) (GH-114867) (cherry picked from commit e9dab65) Co-authored-by: Nicholas Hollander <[email protected]>
serhiy-storchaka
pushed a commit
that referenced
this issue
Feb 1, 2024
…) (GH-114866) (cherry picked from commit e9dab65) Co-authored-by: Nicholas Hollander <[email protected]>
Thank you for your contribution @nhhollander. |
aisk
pushed a commit
to aisk/cpython
that referenced
this issue
Feb 11, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Documentation
The documentation for date.fromisoformat(), and datetime.fromisoformat() refer to these function as as being able to accept "any valid ISO 8601 format", however there are a couple notable exceptions to this support beyond what is already mentioned in the documentation. I know that Python's date parsing code intentionally does not implement the full ISO 8601 specification for simplicity reasons, but I feel like this could be better conveyed by the current documentation.
Below is a summary of ISO 8601 date stamps that are not supported by the
datetime
module.Linked PRs
The text was updated successfully, but these errors were encountered: