From: Todd C. Miller Subject: Re: strftime.3: clarify %G and %g description To: Christian Weisgerber Cc: tech@openbsd.org, Ingo Schwarze , Lucas Gabriel Vuotto Date: Tue, 23 Apr 2024 19:55:03 -0600 On Tue, 23 Apr 2024 21:43:44 +0200, Christian Weisgerber wrote: > Lucas Gabriel Vuotto just pointed out that got(1) was mistakenly > using %G to get the year with strftime(). This is a trap set by a > poor description in our strftime.3. I suggest the clarification > below, taken from FreeBSD. I still find that confusing. I think "majority" would be better than "greater part" but it still lacks a real description for the option. I don't think it is reasonable to expect people to understand the finer points of ISO 8601. Upstream tzcode also refers to the %V option which has a description of ISO 8601 week numbers. Perhaps we should just update our manual based on that. - todd