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

ZonedDateTime support #246

Closed
Fejiro-A opened this issue Dec 26, 2022 · 2 comments
Closed

ZonedDateTime support #246

Fejiro-A opened this issue Dec 26, 2022 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@Fejiro-A
Copy link

Please would it be possible to add support for filtering fields with ZonedDateTime? Or Is there some bean that can be exposed so that we can implement our own type conversions?

@sisimomo
Copy link
Contributor

Unfortunately, there is no way to provide your own type converter. But if it's a class from a mainstream package, you can just make a small pull request with the necessary code modifications. I did this recently to add class support for "java.time.OffsetTime", "java.time.YearMonth", "java.time.MonthDay".

If you look at the pull request I made, you'll see all the places where you need to add code.
https://github.com/turkraft/spring-filter/pull/245/files

@torshid
Copy link
Member

torshid commented Feb 20, 2023

Hi @Fejiro-A,

ZonedDateTime is now supported in release 3.0.0.

@torshid torshid closed this as completed Feb 20, 2023
@torshid torshid added this to the Release 3.0.0 milestone Feb 20, 2023
@torshid torshid added the enhancement New feature or request label Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants