Re:Microfeatures I'd like to see in more languages
by relaxing on Friday January 06, 2023 @02:55PM
(#34280066)
The first rule of timestamps is, we agree on nothing!
Reverse-middle endian YYYY-DD-MM is used in Kazakh writing (https://en.m.wikipedia.org/wiki/Date_format_by_country )
Re:Microfeatures I'd like to see in more languages
by hinkley on Friday January 06, 2023 @03:33PM
(#34280636)
Anyone who packs multiple values into a single string hates the world and possibly themselves.
Nowhere is it written that we must use the same field separator between the ambiguous fields. We could fix this problem by using the separators as type signifiers.
We could also stop using day <= 12 in our examples, which would also help a ton.
> But is that December 8th or August 12?
I didn't even think YYYY-DD-MM is a possibility. Maybe I can grant 08/12/2022 is ambiguous and so is 08-12-2022 but can we please agree YYYY-MM-DD can't have variations?