bug#80974: Add Time conversion specifiers quick reference

Pádraig Brady <[email protected]> Thu, 7 May 2026 13:25:09 +0100
Newsgroups gmane.comp.gnu.core-utils.bugs
Message-ID <[email protected]>
On 07/05/2026 01:46, Dan Jacobson wrote:
> (info "(coreutils) Time conversion specifiers") is too hard to read
> through in a hurry.
> 
> Therefore a second section could be added: "quick reference".
> 
> And show how we generate it too!:
> 
> $ for i in {A..Z} {a..z}; do date "+$i: %$i"; done
> A: Thursday
> B: May
> C: 20
> D: 05/07/26
> E: %E
> F: 2026-05-07
> G: 2026
Not a bad suggestion.
Actually we do have many examples in parenthesis,
so really we could just reformat to:

      Example   Description

%%   %         a literal %
%a   Sun       locale's abbreviated weekday name
%A   Sunday    locale's full weekday name


The same could be done in date --help

cheers,
Padraig