Skip to content

Conversation

@patricklatimer
Copy link
Collaborator

@patricklatimer patricklatimer commented Mar 6, 2025

There's a regex that is supposed to match ISO format but it's missing a 'Z'. Rather than having to maintain a regex, I changed it so it'd just try datetime.fromisoformat and report if it fails.

Also added a test case that only works for python 3.11. Probably good to have, but it should probably only run for python>3.11.

@jtyoung84
Copy link
Contributor

@patricklatimer I'll push a change to get the tests to pass

@jtyoung84 jtyoung84 merged commit 7b94667 into main Mar 6, 2025
3 checks passed
@jtyoung84 jtyoung84 deleted the feat-update-datetime-parser branch March 6, 2025 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants