OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: DocBook XSL Stylesheets v1.75.2 uses US date format


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)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]