News for hackers. Stuff that matters.
Re:What is the cost of a cashless society? by qabqabaca on Friday August 05, 2022 @05:16AM (#32353589)
Agree. It's like Stockholm Syndrome. It comes across the same as when someone from the US tries to argue that putting the month before the day actually makes sense in dates because then the max values go from lowest to highest (12/31/9999+).
Re:What is the cost of a cashless society? by alexvoda on Friday August 05, 2022 @05:48AM (#32353804)
That is the perfect moment to mention ISO 8601 and RFC 3339.
Re:What is the cost of a cashless society? by pooper on Friday August 05, 2022 @06:01AM (#32353917)
I started using 8601 without even thinking about it for one simple reason. Alphabetical sorting just works with YYYYmmdd

So for example, log20220804.txt

https://xkcd.com/1179/

At the very least, use four digit years, not 22 for 2022.

> ISO 8601 was published on 06/05/88 and most recently amended on 12/01/04.

Re:What is the cost of a cashless society? by smdyc1 on Friday August 05, 2022 @07:11AM (#32354451)
I've been using that format too for the same reason, without knowing about 8601. Day/Month/Year is great for a person (I'm in Aus) since we, as human beings, intrinsically know what year it is, and probably know what month it is if we haven't been on a bender. But string sorting is so much easier using yyyyMMdd format.
Re:What is the cost of a cashless society? by sneak on Friday August 05, 2022 @10:03AM (#32356235)
yyyymmdd is incorrect, as pointed out explicitly in the xkcd you linked.

The format is yyyy-mm-dd.

Re:What is the cost of a cashless society? by mvid on Sunday August 07, 2022 @03:37PM (#32379163)
US and non-US date styles are equally wrong. It’s just personal preference or what you are used to. The only “correct” option would be Year Month Day, and the only argument that needs to be made for is look at how your clock arranges time, or how you write it down.