5 ms·
Yet more reason to use the objectively correct date format. https://en.wikipedia.org/wiki/ISO_8601#Dates https://en.wikipedia.org/wiki/ISO_8601#Dates
by reificator 7y ago
Yet more reason to use the objectively correct date format.
https://en.wikipedia.org/wiki/ISO_8601#Dates https://en.wikipedia.org/wiki/ISO_8601#Dates
- gtirloni 7y agoHow is it more "objectively correct" than DD-MM-YYYY?
- QuesnayJr 7y agoASCII sorting order is chronological order.
- frutiger 7y agoI would note that the first letter of "ASCII" stands for "American".
- tzs 7y agoIs there any language/locale/whatever that both (1) uses Arabic numerals and (2) does not sort the numerals in the same way ASCII does?
- QuesnayJr 7y agoYou're right. I was thinking that you need the dash to sort in the right order, but of course the dash is always in the same place in ISO 8601.
- mcrae 7y agoBecause its unambiguous -- DD-MM-YYYY could be confused for MM-DD-YYYY
- jacquesm 7y agoI personally prefer to spell out the first three letters of the name of the month to reduce ambiguity, this works well across all regions in the world I do business with.
- joering2 7y agoHow can you confuse 31-12-2019 ?
- NullPrefix 7y ago10-11-2019 and 11-10-2019
- yongjik 7y agoUnless you plan to use one format until 12th of each Month and a different format between 13th and 31st, your objection doesn't seem relevant.
- loco5niner 7y agoObviously you can't, because you cherry picked a non-confusing date. But you can easily confuse 01-02-2020 or 03-01-2020.
- rightbyte 7y agoLittle endian is obviously heretic, in left-to-right languages.
- reaperducer 7y agoHow is it more "objectively correct" than DD-MM-YYYY? Because the I in ISO means International, so it's automatically better on HN. It's why the people on HN go to International House of Pancakes so much, but wouldn't be caught dead in The Pancake House.
- timbit42 7y agoFor the same reasons the time format HH:MM:SS is objectively correct and and not HH:SS:MM, SS:MM:HH, MM:SS:HH, SS:HH:MM, or MM:HH:SS.
- gtirloni 7y agoNo, dates are for humans not computers sorting things. DD-MM-YYYY is "objectively better" because that's how most humans read dates. See where this is going?
- jacquesm 7y agoThat is the right format but 'normal people' assume context first so the 12th of January without further context indicates the present year and the 12th of January 2019 or just '19 is enough to disambiguate. The ISO date code was created with computers in mind (sort order) but real people are not computers and besides that there are quite a few other date systems in the world so it is biased to Gregorian anyway.
- NullPrefix 7y ago> so called 'normal people' ... context first ... indicates the present year If I refer to 12th of January during Christmas, do I refer to the one that is just a few weeks away or the one that is in the present year?
- jacquesm 7y agoAgain, that is a context thing. If you are talking about your sons upcoming birthday that would be the nearest one. I rarely see people referring to events by the exact date if it isn't some momentous occasion (9/11 ... but what year?), or to plan something. If you typically refer to all days of the year past when the upcoming one is very close then you'd probably make that plain with some note on context. If not you might find yourself with an unscheduled party on your hands :)
- noisem4ker 7y agoI think it's a small hurdle to overcome. Our visual parsing routine can be updated to read YYYY-MM-DD focusing on the rightmost digits, if those are what's important.