Add ISO8601 formatting option to <t:timestamp> feature.
The new timestamp feature is great, but it is very frustrating that it provides 7 different ways to format the timestamp and none of them are the long established international standard way to represent a date/time (ISO-8601).
Please see https://xkcd.com/1179/ for more details. Or https://web.archive.org/web/20171020084445/https://www.loc.gov/standards/datetime/ISO_DIS%208601-1.pdf if you want the full specification.
TL;DR: YYYY-MM-DDThh:mm:ss is the most common usage of the standard. There are a number of variations on that if you want to make slight tweaks.
-
At the *least* please add support for YYYY-MM-DD hh:mm:ss. This isn't strictly ISO8601 but it is really close (swaps the `T` separator out for a space) and it is the most logical representation of time that also fits naturally into English language writing (and most others as well).
1 -
Olá como usa isso aqui
-1 -
Agreed this would be great. Using space between the date and time (instead of "T") is the human-friendly way too.
I also advocate for options to include a localised day name (full or abbreviated) between the date and time:
2022-07-29 Fri 23:59:59
And an option to explicitly report the timezone offset used:
2022-07-29 Fri 23:59:59 +01301 -
There is an older similar post with more likes than this one. Maybe it's a good idea to support that.
-3 -
JJRcop, that's for a different feature.
That post: ISO 8601 as an input format.
This post: ISO 8601 as an output format.1
Please sign in to leave a comment.
Comments
5 comments