Closed cmzwolf closed 4 years ago
I suggest we standardise on ISO 8601 for dates - e.g. today's date would be expressed as:
2019-04-17
Current specification of the application profile has no information on which date/time standard to use.
For the time bit in datetimes, the most explicit storage/interchange format is hh:mm:ssZ, that is: 24 hours, 60 minutes, up to 62 seconds (because leap seconds), and timezone set to UTC as a Z.
I hope it won't be necessary for people making a plan to ever have to deal with full-on timestamps (they should get away with just dates!), but for all automated timestamps like "created at X, last modified at Y", this is the format to use.
I was thinking of RFC 3339: https://tools.ietf.org/html/rfc333
Here's ECMA itself weighing in:
[Ecma-262 Edition 5.1: 15.9.1.15 Date Time String Format](https://ecma-international.org/ecma-262/5.1/#sec-15.9.1.15
YYYY-MM-DDTHH:mm:ss.sssZ where Z is either a Z
or +HH:mm
.
We will use ISO 8601, because it is a W3C organisation and is also used by the DCAT specification that we hevily rely on.
The format used for the date should be specified (e.g. AAAA/MM/DD of the Gregorian Calendar).
Moreover the time used (ex. in the fields "created" and "modified") miss the time zone used for expressing the time.