-
-
Notifications
You must be signed in to change notification settings - Fork 19.1k
BUG: parsing ISO8601 string with format=
and timezone name fails
#49747
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
BUG: parsing ISO8601 string with format=
and timezone name fails
#49747
Conversation
format=
and timezone name fails
("2012-01-01 10", "%Y-%m-%d %H:%M"), | ||
("2012-01-01 10:00", "%Y-%m-%d %H:%M:%S"), | ||
("2012-01-01 10:00:00", "%Y-%m-%d %H:%M:%S.%f"), | ||
("2012-01-01 10:00:00.123", "%Y-%m-%d %H:%M:%S.%f%Z"), |
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.
this one no longer goes down the ISO8601 fastpath, so removing it from here
("%Y-%m-%dT%H:%M:%S", True), | ||
("%Y-%m-%dT%H:%M:%S%z", True), | ||
("%Y-%m-%dT%H:%M:%S%Z", True), | ||
("%Y-%m-%dT%H:%M:%S%Z", False), |
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.
these are no longer detected as ISO because the pandas ISO8601 fastpath can't handle them
thanks for reviewing! |
…andas-dev#49747) * %z -> %Z * add whatsnew note and regression test Co-authored-by: MarcoGorelli <>
…andas-dev#49747) * %z -> %Z * add whatsnew note and regression test Co-authored-by: MarcoGorelli <>
format=
and timezone name fails #49748doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.