Skip to content

fix: Check/correct datetime formatting in GeoImageConstraints - #37

Closed
jacobptnguyen wants to merge 1 commit into
fathomnet:mainfrom
jacobptnguyen:fix/geoimageconstraints-datetime-format
Closed

jacobptnguyen wants to merge 1 commit into
fathomnet:mainfrom
jacobptnguyen:fix/geoimageconstraints-datetime-format

Conversation

@jacobptnguyen

Copy link
Copy Markdown

fixes #17

@kevinsbarnard

Copy link
Copy Markdown
Member

Thanks for catching this and putting together a fix with tests, appreciate it. I'm going to handle it a bit differently though: parse through pydantic's own datetime handling instead of a regex, so it normalizes any valid input instead of just one case, and since pydantic's already a dependency there's nothing new to add.

I'll get that into main myself, so closing this one out. Thanks again for the PR.

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.

Check/correct datetime formatting in GeoImageConstraints

2 participants