News for hackers. Stuff that matters.
Re:Do not use 'week year': YYYY by ape4 on Tuesday January 04, 2022 @08:32AM (#29794478)
This is easier to read but not descriptive enough since there are different kinds year, month, day. Year can be 2 digits, 4 digits, regular or week year. Month can have leading zero or not, long name, short, name. Day could be Julian, leading zero or not, day of the week, etc
Re:Do not use 'week year': YYYY by AtroxDev on Tuesday January 04, 2022 @08:39AM (#29794543)
That's when you can be more precise if you want: `[year padding:zero repr:full base:calendar sign:automatic]`. The format is also checked on compile time.
Re:Do not use 'week year': YYYY by ape4 on Wednesday January 05, 2022 @12:41PM (#29812176)
How long until that becomes Turing-complete ;)