-
Notifications
You must be signed in to change notification settings - Fork 38.5k
@DateTimeFormat is override when I set spring.mvc.date-format #23890
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
Comments
I’m not sure I understand the issue. Could you provide a small application sample that demonstrate the problem? |
|
@LuTongT this is not really helping, as this question mentions |
example:
@GetMapping public void DateFormateTest(@DateTimeFormat(pattern = "yyyyMMdd")Date date) { }
In application.properties:
spring.mvc.date-format=yyyyMMddHH
I must set the parameter
date
fotmat isyyyyMMddHH
.Is it reasonable?The text was updated successfully, but these errors were encountered: