From 63f8dc3610eaaec702267436c1dc82ebfed8d94f Mon Sep 17 00:00:00 2001 From: Addison Phillips Date: Mon, 28 Oct 2024 16:28:55 -0700 Subject: [PATCH] Various improvements - reference RFC9557 - clean up some recommendations - clarify the mixed-vs-same offset example --- index.html | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index c1ae86d..45c631d 100644 --- a/index.html +++ b/index.html @@ -390,7 +390,7 @@

Floating Time

France has a number of overseas departments which do not share a time zone with Metropolitan France. In this example, we'll look at three French time zones: Europe/Paris, Pacific/Noumea (the time zone used in New Caledonia), and Pacific/Tahiti (one of the timezones in French Polynesia).

-

New Caledonia is one of (but not the) first time zones in France to observe the holiday. Tahiti is one of (but not the) last in France to observe it. The table below shows the dates and times in each of the time zones as Bastille Day is observed around the world. Notice that some of the [=incremental time=] values that are "Bastille Day" in one time zone are either before "Bastille Day" starts or after it ends in the time zones:

+

New Caledonia is one of (but not the) first time zones in France to observe the holiday. Tahiti is one of (but not the) last in France to observe it. The table below shows the dates and times in each of the time zones as Bastille Day is observed around the world. Notice that some of the [=incremental time=] values that are "Bastille Day" in one time zone are either before "Bastille Day" starts or after it ends in the other time zones:

@@ -494,25 +494,29 @@

Definitions

Serializations

-

Some of the serializations in this section are not currently part of any standard. Work at the IETF on SEDATE might address this gap. Other standards, such as XMLSchema might be affected.

+

Serialization of date/time values is necessary for interchange of these kinds of values in document formats and protocols. Which serialization to use depends on the application's use case and available standards. Serializations that use time zone IDs instead of relying on offsets is RECOMMENDED.

+ +
- - + + - + - + @@ -661,7 +665,7 @@

General Recommendations

- +
NameExampleType Being SerializedSerialization to Use Description
Instant, TimestampInstant, Timestamp, Date 2007-01-01T01:00:00.000Z An incremental time (instant on the timeline) with UTC offset.
OffsetDateTime 2007-01-01T01:00:00.000+01:00An incremental time with an explicit offset from UTC.An incremental time with an explicit offset from UTC. Zoned Instant is preferred.
Zoned Offset DateTime
Mixed OffsetsSame OffsetSame value converted to UTC