Hi,

I just regenerated some documentation in a project of mine using the
DocBook XSL Stylesheets v1.75.2, and noticed that the generated date at
the man page is in the US date format:

    .\"      Date: 04/25/2010

[...]

    .TH "GPST" "1" "04/25/2010" "[FIXME: source]" "[FIXME: manual]"

This is ambiguous and prone to errors when the date is for example
"01/02/03". Is it 2003-02-01, 2003-01-02, or even 2001-02-03?

The correct thing to do here, is to use the [international date
format][1], using yyyy-mm-dd instead of mm/dd/yy or dd/mm/yy.

I've studied the source code in SVN, but haven't come up with a patch
yet, as I'm totally new to the code base. And anyway, it's better to
first send a mail to the list about this.

I've uploaded an example of this to <http://gist.github.com/378643>,
which is a full example with source and generated files.

[1]: http://en.wikipedia.org/wiki/ISO_8601

    Cheers,
    Øyvind A. Holm
    (sunny256)

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-h...@lists.oasis-open.org

Reply via email to