News for hackers. Stuff that matters.
Re:Do not use 'week year': YYYY by easbar on Tuesday January 04, 2022 @08:23AM (#29794402)
> but how the heck is Jan 1st 2022 put in the 2023 year?

This only happened shortly after midnight on January 1st. So I guess this is somehow related to different time zones/offsets.

Re:Do not use 'week year': YYYY by karussell on Tuesday January 04, 2022 @08:59AM (#29794778)
Yes! I just looked into it and the log itself was still 2022:

2022-12-31 23:16:54.013

And then our UI converted this entry into one with 2023

(it correctly assumes that the string is in UTC and then converted it to local time +1h)

Re:Do not use 'week year': YYYY by protomyth on Tuesday January 04, 2022 @09:10AM (#29794897)
Ok, you had me a bit worried on that one.

A linter should probably flag any format that mixes "week year" with month and days. It's really for use by itself or with payroll week number.