This is an automated email from the ASF dual-hosted git repository.
scottheiberg pushed a change to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 2924ab382c Trigger complete build, snapshot publish and docs
add a6bdba995b Consistent ISO-8601 JSON rendering of Date, LocalDateTime,
and Instant
add f9451d1562 Update grails-views-gson for consistent ISO-8601 rendering
of Instant and LocalDateTime
add 0232df3adf Document upgrade path changes for ISO-8601 json dates
add f386bace85 Fix Calendar to render ISO-8601 as well
add ee6b21342e Add missing CalendarMarshaller
add bf496821b1 Display LocalDateTime as ISO-8601 without timezone (local
time)
add 4b8cfed7d0 OffsetDateTimeMarshaller and ZonedDateTimeMarshaller support
add ba51b1fbbd LocalDate support
add b0fb1f89c9 Update for nonasecond precision
add 9cb1a0fe1b Merge branch '7.0.x' into 7.0.x-json-dates
new a87a2e7ea8 Merge pull request #15121 from codeconsole/7.0.x-json-dates
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../ConvertersConfigurationInitializer.java | 6 +
...DateMarshaller.java => CalendarMarshaller.java} | 21 ++-
.../converters/marshaller/json/DateMarshaller.java | 2 +-
...tDateMarshaller.java => InstantMarshaller.java} | 14 +-
...ateMarshaller.java => LocalDateMarshaller.java} | 14 +-
...arshaller.java => LocalDateTimeMarshaller.java} | 14 +-
...rshaller.java => OffsetDateTimeMarshaller.java} | 14 +-
...arshaller.java => ZonedDateTimeMarshaller.java} | 14 +-
.../src/en/guide/upgrading/upgrading60x.adoc | 111 +++++++++++-
.../converters/JSONDateTimeMarshallingSpec.groovy | 149 ++++++++++++++++
.../json/converters/InstantJsonConverter.groovy | 3 +-
.../converters/ZonedDateTimeJsonConverter.groovy | 2 +-
.../plugin/json/view/DateTimeRenderingSpec.groovy | 197 +++++++++++++++++++++
13 files changed, 516 insertions(+), 45 deletions(-)
copy
grails-converters/src/main/groovy/org/grails/web/converters/marshaller/json/{DateMarshaller.java
=> CalendarMarshaller.java} (74%)
copy
grails-converters/src/main/groovy/org/grails/web/converters/marshaller/json/{JavascriptDateMarshaller.java
=> InstantMarshaller.java} (76%)
copy
grails-converters/src/main/groovy/org/grails/web/converters/marshaller/json/{JavascriptDateMarshaller.java
=> LocalDateMarshaller.java} (75%)
copy
grails-converters/src/main/groovy/org/grails/web/converters/marshaller/json/{JavascriptDateMarshaller.java
=> LocalDateTimeMarshaller.java} (74%)
copy
grails-converters/src/main/groovy/org/grails/web/converters/marshaller/json/{JavascriptDateMarshaller.java
=> OffsetDateTimeMarshaller.java} (74%)
copy
grails-converters/src/main/groovy/org/grails/web/converters/marshaller/json/{JavascriptDateMarshaller.java
=> ZonedDateTimeMarshaller.java} (73%)
create mode 100644
grails-test-suite-web/src/test/groovy/org/grails/web/converters/JSONDateTimeMarshallingSpec.groovy
create mode 100644
grails-views-gson/src/test/groovy/grails/plugin/json/view/DateTimeRenderingSpec.groovy