Open eLVas opened 2 years ago
Hi, thanks for your report. It looks like the error was added deliberately. cc @WillAyd I think you implemented this initially?
At least according to Wikipedia it doesn't seem like there is an absolute standard on whether this is required or not. If it's something you'd like to provide a patch to support I think would take it
Pandas version checks
[X] I have checked that this issue has not already been reported.
[X] I have confirmed this bug exists on the latest version of pandas.
[X] I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
When parsing ISO 8601 with time components that are represented by more than 2 digits, I get an error:
I have checked the information in open sources about the duration ISO 8601 format and couldn't find anything that would prohibit using more than two digits to represent duration. Unfortunately, I do not have access to the full text of ISO 8601 standard.
I have also checked that other ISO 8601 parser implementations don't have the same issue. (For example, isodate is able to parse this without issues.)
Expected Behavior
Durations in ISO 8601 format represented by more than 2 digits are parsed correctly.
Installed Versions