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
Date pattern improvment #78
Comments
Hello, Not sure to have understood you but I think that you want to change date patterns. You may check this section of the readme to do that https://github.com/turkraft/spring-filter#date-format. Or are you asking for Date fields to support multiple patterns at the same time? |
I'm asking to support a pattern containing time for Date fields. Or maybe support multiple patterns. For example, we have a Postgres table But the model entity is @entity In this case, we can filter only by date value not considering the time. |
In your application.properties, if you add turkraft.springfilter.dateformatter.pattern=dd-MM-yyyy'T'HH:mm:ss You should be able to filter using |
Thanks, you're a lifesaver. |
No problem. Feel free to open other issues. |
Hey!
Entity class can map Db field of timestamp format to Date field.
It would be great to have the possibility to filter by that kind of field not only by date but by date and time both.
So for such cases, it would be needed to set the Date pattern as dd-MM-yyyy'T'HH:mm:ss.
Could you improve this?
Thanks.
The text was updated successfully, but these errors were encountered: