-
Notifications
You must be signed in to change notification settings - Fork 473
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
Add isIsoDate predicate #2427
Comments
I'd like to take this issue, very similar to |
what about the time format I was thinking of using this high level logic :
Also, I've used |
Please check the PR for above things and let me know if any feedback. Thank you! |
Hi @beaterblank I'll make feedback asap |
Hi @beaterblank this has been fixed by #2565. I'm. closing this one now |
The current
isDate
predicate takes "date" type as input. To use it on a string, user has to explicitly convert it to a date using a format spec andtoDate
filter:As the user must explicitly transform the string to a date,
isDate
has little value.Proposal
Add a
isIsoDate
predicate that take a string as input and check that this string can be converted to a date with the format spec%Y-%m-%dT%H:%M:%S%.f%:z
(chrono format).The text was updated successfully, but these errors were encountered: