micktwomey / pyiso8601

ISO8601 formatted datetime parser for python
MIT License
34 stars 13 forks source link

Derive `ParseError` from `ValueError` #11

Closed Lexicality closed 3 years ago

Lexicality commented 3 years ago

Brings it more in line with stdlib behaviours, eg strptime or json.loads

micktwomey commented 3 years ago

Thanks for this! Looking at the change I can't imagine why it wasn't a ValueError to begin with :)