-
Notifications
You must be signed in to change notification settings - Fork 40.8k
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
Jackson configuration of date format doesn't seem to work #2322
Comments
Forgot to mention that I'm running Boot 1.2.0. I will test on 1.2.1 now. |
Same issue with 1.2.1 These are the settings in my application.yml
I have also tried with othere examples from the doc I linked to. |
This works for me both with and without Spring HATEOAS/Spring Data REST on the classpath. @lazee Can you provide a small sample that reproduces the problem please? |
@wilkinsona Will do as soon as possible. |
@lazee Are you, by any chance, trying to format a Joda |
@wilkinsona No. I will try to reproduce it from a plain app now. It might be something in my project. |
@lazee Any joy reproducing this will a plain app? |
In the absence of an example of the failure, I'm going to close this. @lazee If you manage to reproduce this, please comment with the details and we'll re-open the issue. |
Hi @wilkinsona. Sorry that I haven't been following up on this one. I have done some testing now and I'm not able to reproduce the problem in a plain boot 1.2.1 setup. But I still have the problem in my original project. Really not sure what causes this, so I have to do some more testing. I will reopen this issue if I'm able to find what causes this. |
According to this documentation (http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html) I should be able to configure the Jackson date format by configuring spring.jackson.date-format in application.properties. But this just doesn't seem to work.
The text was updated successfully, but these errors were encountered: