Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: support milliseconds in isDate #36

Open
sargunv opened this issue Feb 4, 2023 · 0 comments
Open

Feature request: support milliseconds in isDate #36

sargunv opened this issue Feb 4, 2023 · 0 comments

Comments

@sargunv
Copy link

sargunv commented Feb 4, 2023

I'm trying to parse JSON that contains dates that are just like the ISO8601 handled by this library, except they have milliseconds. I get the following error from Typanion:

Expected to be a valid ISO 8601 date string (got "2023-01-06T02:10:20.118Z")

I'd like either the existing isDate or a new function to support the .118 milliseconds part of the string.

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

No branches or pull requests

1 participant