-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Could date filter support Instant? #308
Comments
Oh yeah, code got updated to use Instant, but looks like the doc string never got updated. I agree with supporting |
OK, will work on a PR... |
Oh, I just pushed up |
But if there's anything else you'd like to add PR is welcome as well. |
and pushed up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The code for
java.util.Date
arguments goes throughInstant
to get to a local date/time so it seems likejava.time.Instant
could be supported this way too:as:
I was a bit surprised this wasn't already supported when I got "Execution error (IllegalArgumentException) at selmer.filters/fix-date (filters.clj:75).
2024-05-30T18:54:50.768632311Z is not a valid date format."
I also noticed that the comment on the
|date
filter talks about Joda Time... which isn't supported by Selmer any more, right?The text was updated successfully, but these errors were encountered: