TST/BUG: Improve error handling when parsing iso 8601 strings #8910
Labels
Datetime
Datetime data dtype
Error Reporting
Incorrect or improved errors from pandas
Timezones
Timezone data dtype
Milestone
xref #8832
Parsing of datetime strings ending with
Z0
orZ00
should raise (this is currently only the case withZ0
).This is due to the fact that the parser in
np_datetime_strings.c
cannot raise its own errors since in tslib.pyx, function convert_ts_tsobject(), any ValueError is catched and then a fallback external parser (dateutil) is called.The text was updated successfully, but these errors were encountered: