3 ms·
>> Frink has special syntax for date values. You can write # 2001-08-12 # to mean the date 2001-08-12 > But is that December 8th or August 12? I didn't even
by pooper 4y ago
>> Frink has special syntax for date values. You can write # 2001-08-12 # to mean the date 2001-08-12
> 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?
- relaxing 4y agoThe 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 https://en.m.wikipedia.org/wiki/Date_format_by_country )
- hinkley 4y agoAnyone 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.