You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by sc...@apache.org on 2025/10/09 20:10:23 UTC
(grails-core) 01/01: Merge pull request #15121 from codeconsole/7.0.x-json-dates
This is an automated email from the ASF dual-hosted git repository.
scottheiberg pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit a87a2e7ea81b071094d0e308987a3d5f57c4f5a2
Merge: 2924ab382c 9cb1a0fe1b
Author: Scott Murphy <sc...@alwaysvip.com>
AuthorDate: Thu Oct 9 13:10:16 2025 -0700
Merge pull request #15121 from codeconsole/7.0.x-json-dates
Use consistent ISO-8601 formatting for rendering JSON Date, Calendar, LocalDateTime, and Instant properties
.../ConvertersConfigurationInitializer.java | 6 +
...DateMarshaller.java => CalendarMarshaller.java} | 21 ++-
.../converters/marshaller/json/DateMarshaller.java | 2 +-
...{DateMarshaller.java => InstantMarshaller.java} | 38 +---
...ateMarshaller.java => LocalDateMarshaller.java} | 38 +---
...arshaller.java => LocalDateTimeMarshaller.java} | 38 +---
...rshaller.java => OffsetDateTimeMarshaller.java} | 38 +---
...arshaller.java => ZonedDateTimeMarshaller.java} | 38 +---
.../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(+), 165 deletions(-)