[ http://jira.codehaus.org/browse/MPXDOC-150?page=all ]
Ignacio G. Mac Dowell updated MPXDOC-150:
-----------------------------------------
Attachment: MPXDOC-150.patch
IMO this bug was introduced with i18n. This patch solves the issue.
If a date pattern is specified then the date is formatted according to this
pattern and the current locale being processed.
If no date pattern (empty maven.xdoc.date.format) is specified it just does a
long dateStyle formatting (as before the patch). In other words if we are
generating 'en' docs we'd get: August 24, 2005 12:13:36 PM
When generating 'fr' docs we'd get: 24 août 2005 12:13:36
This patch is against svn trunk
PD: IMHO maven.xdoc.date.locale should be deprecated. The date locale should be
the same than the whole xdoc locale. This property was introduced before i18n.
> maven.xdoc.date.format does not seem to have any effect?
> --------------------------------------------------------
>
> Key: MPXDOC-150
> URL: http://jira.codehaus.org/browse/MPXDOC-150
> Project: maven-xdoc-plugin
> Type: Bug
> Versions: 1.9
> Environment: XP
> Reporter: Benoit Xhenseval
> Fix For: 1.9.2
> Attachments: MPXDOC-150.patch
>
>
> Hello
> I believe that the maven.xdoc.date.format property put in my
> project.properties file has no effect.
> Regardless of what I put there, the date format seems to be:
> June 22, 2005 9:04:09 PM BST
> despite having:
> maven.xdoc.date.format=dd MMM yyyy HH:mm z
> The properties file is taken into account as I can change where the date is:
> maven.xdoc.date=left
> or
> maven.xdoc.date=right
> Thanks
> Benoit
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]