3 ms·
It's something that I agree with and increasingly I add dates in my notes. In addition to that, using one single format is really important. if the article was
by user261 3y ago
It's something that I agree with and increasingly I add dates in my notes. In addition to that, using one single format is really important. if the article was published on say November 2nd. I wouldn't know if it was 11th February or 2nd November. DD MMM YYYY is safest. The 3Ms being Jan, Feb, Mar....
- eckesicle 3y agoThere’s some unexpected behaviour with MMM as a formatter, which is that it’s not always 3 characters long and differ subtle by locale. Notably on the JVM if your locale is en-GB every month is 3 chars: Jan, Feb, Mar, etc. until you get to September which is Sept. In en-US it’s just Sep. Of course, if you don’t specify the locale in code, it will choose the system default leading to lovely region specific exceptions for your servers in Ireland and England.
- bitcharmer 3y agoYYYY-MM-DD is the only correct format and I will die on this hill The most nonsensical approach is what the Americans use but let's not go there : - )
- noitpmeder 3y agoThe fact that this sorts correctly seals the deal. There is no better option.
- Veserv 3y agoYou can just use ISO 8601, YYYY-MM-DD, then you can be international standards compliant as well. https://en.m.wikipedia.org/wiki/ISO_8601 https://en.m.wikipedia.org/wiki/ISO_8601
- sverhagen 3y agoI have a hard time getting that past non-technical users (in the US). People that don't think like an engineer. Even though we're right! Of course!
- readthenotes1 3y agoPlus, it sorts naturally. Starting with the day or the month is Ludacris.
- rekoil 3y agoDay I can accept, even if I dislike it. Starting with the month will always make me angry. It just has no logic to it.
- alanbernstein 3y agoSure it does. It's the shortest way to specify a date within a period of a year surrounding the current day... Which means it's a date format that should only ever be spoken, not committed to written record.
- actionfromafar 3y agoMonth first is not even syntactically correct, even in spoken form, in some languages.
- jankremer 3y agoI think everyone should use ISO 8601. And if you are using something else, especially if it’s something like XX-XX-XX, specify what you mean by that!
- Hamuko 3y agoI use YYYY-MM-DD for my blog since it's the one true date format.
- usrbinbash 3y agoUnix Epoch with the string "Stardate: " prepended does the trick :D
- SAI_Peregrinus 3y agoJulian date with the same.
- Ciantic 3y agoI store notes in to git repository. I used to store timestamps inside the file too, but I found out I don't have the patience to add those if I change tooling like to a different markdown editor that doesn't do it automatically.
- LikesPwsh 3y agoMmm doesn't localise well either. E.g. French has Juin and Juillet, both "jui" start. Better to just use yyyy-mm-dd everywhere. I see so many bugs from people still using US date format in 2023.