You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Benoit Xhenseval (JIRA)" <ji...@codehaus.org> on 2005/06/22 22:07:52 UTC

[jira] Created: (MPXDOC-150) maven.xdoc.date.format does not seem to have any effect?

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
 Assigned to: Arnaud HERITIER 
     Fix For: 1.9.1


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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPXDOC-150) maven.xdoc.date.format does not seem to have any effect?

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPXDOC-150?page=all ]
     
Arnaud Heritier closed MPXDOC-150:
----------------------------------

    Resolution: Fixed

Applied. Thanks.

> 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
>     Assignee: Arnaud Heritier
>      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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPXDOC-150) maven.xdoc.date.format does not seem to have any effect?

Posted by "Ignacio G. Mac Dowell (JIRA)" <ji...@codehaus.org>.
     [ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPXDOC-150) maven.xdoc.date.format does not seem to have any effect?

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPXDOC-150?page=all ]

Arnaud Heritier updated MPXDOC-150:
-----------------------------------

    Assign To:     (was: Arnaud Heritier)

> 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

>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org