id_document -> time format -> TZ offset
time: Time stamp in ISO 8601:2004 [ISO8601-2004] YYYY-MM-DDThh:mm:ss±hh format representing the date when this id document was verified.
I was pointed out that certain timezone offsets can include minutes (+/-30/45) so the format should be
YYYY-MM-DDThh:mm:ss±hh:mm
https://www.timeanddate.com/time/time-zones-interesting.html
PS: There are other normative places in the spec where this timestamp format appears.
Comments (5)
-
-
reporter I suspect they chose this odd timezone offset so that the territory stays, on average, as close as possible to the solar day, which was the “original” day. Since we have timezones “noon” and “midnight” have mostly lost their original meaning. There are small countries in Europe and perhaps elsewhere where at 12am the solar noon is way outside their territory, which may be noticed with sunrises or sunsets having unusually early / late times.
Things will become more interesting when we start colonising other planets. A whole bunch of ISO and other standards, not just ISO 8601, will then have to be reworked :)
-
reporter - edited description
-
JSON itself does not specify how dates should be represented, but JavaScript does.
2012-04-23T18:25:43.511Z
-
- changed status to closed
- Log in to comment
I know that India uses UTC+05:30 and Nepal uses UTC+05:45!