-
-
Notifications
You must be signed in to change notification settings - Fork 965
7.0.x Fix for Fields Rendering of java.time.* #15146
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
7.0.x Fix for Fields Rendering of java.time.* #15146
Conversation
grails-gsp/plugin/src/main/groovy/org/grails/plugins/web/DefaultGrailsTagDateHelper.groovy
Show resolved
Hide resolved
We originally said "bug" fixes would only go in 7.0.1 and features in 7.1.0. I'm ok with the change going into 7.0.1, but we probably should make sure @jamesfredley & @matrei agree with this. |
Right, I think this is a bug fix because the new fields don't even work. @jdaugherty look at the Edit/Create view results |
I think we should move to second or even nanosecond precision in 7.1.x |
java.sql.Date on /show page results in
|
@jdaugherty I agree that it could go into 7.0.1 |
Will want to confirm compatibility with
and the following from messages.properties
|
https://grails.apache.org/docs/snapshot/ref/Tags%20-%20GSP/formatDate.html While using java.time.LocalDate as the date value please specify the format attribute as the default (yyyy-MM-dd HH:mm:ss z) would fail to format because java.time.LocalDate does not have any time format. |
@jamesfredley for |
Show DateTime
7.0.0
With This Fix
Edit/Create DateTime
7.0.0
With This Fix
Remaining JSON Issues:
Spring Boot
Grails 7