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