[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] nstrftime documentation
From: |
Bruno Haible |
Subject: |
Re: [PATCH] nstrftime documentation |
Date: |
Thu, 21 May 2020 23:08:18 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; ) |
Hi Paul,
> Given that the coreutils manual's 'date' section already documents the
> nstrftime format, perhaps the least-work approach would be to change the
> Gnulib nstrftime comments/documentation to point to the coreutils manual.
Still, that would mean that someone who makes a change to nstrftime.c in
gnulib would have to update a documentation file in coreutils.
It would be better if the C code and its documentation were together in
gnulib. Like it is done with 'parse-datetime': We have doc/parse-datetime.texi
in gnulib, and it appears as part of the coreutils manual at
https://www.gnu.org/software/coreutils/manual/html_node/Date-input-formats.html
So, how about moving the sections [1]
Time conversion specifiers
Date conversion specifiers
Literal conversion specifiers
Padding and other flags
to gnulib, in a file doc/nstrftime.texi?
Bruno
[1] https://www.gnu.org/software/coreutils/manual/html_node/date-invocation.html