Hi Alejandro!

On Tue, Aug 02, 2022 at 12:56:18PM +0200, Alejandro Colomar wrote:
> Package: python3-docutils
> Version: 0.17.1+dfsg-2
> Severity: normal
> Tags: upstream
> X-Debbugs-Cc: Alejandro Colomar <[email protected]>, <[email protected]>, 
> Quentin Monnet <[email protected]>
> 
> Hi,
> 
> The --date argument to rst2man(1) produces the following text:
> 
>     Generated on: YYYY-MM-DD
> 
> And that text is put in the NAME section of the manual page.  That
> is incorrect.  The date should be put as the 3rd argument to the
> .TH macro, preferably in ISO 8601 format (YYYY-MM-DD):
> 
>     .TH title section date source-and-version manual

I have forwarded this bug to upstream. Their response is:

----------8<----------
The "--date" command line argument (and "datestamp" configuration value)
"Include a time/datestamp in the document footer."
(https://docutils.sourceforge.io/docs/user/config.html#datestamp). They are
generic Docutils options that should not be used with the "manpage" writer.

The "date" value for the .th macro fetched from the "Date" field of the
docinfo. See the test input "standalone_rst_manpage.txt" for an example.
---------->8----------

If you agree, can we close this bug?

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

Reply via email to