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
[ Parent
| on HN ]
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.