[ 
http://jira.codehaus.org/browse/MOJO-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Tran closed MOJO-1193.
--------------------------

      Assignee: Dan Tran
    Resolution: Fixed

patch applied, thanks

Revision: 8551
Author: dantran
Date: 9:05:47 PM, Tuesday, January 06, 2009
Message:
MOJO-1193:support display date with locale
----
Added : /trunk/mojo/buildnumber-maven-plugin/buildnumber-locale.patch
Added : /trunk/mojo/buildnumber-maven-plugin/buildnumber-maven-plugin.patch
Modified : /trunk/mojo/buildnumber-maven-plugin/pom.xml
Modified : 
/trunk/mojo/buildnumber-maven-plugin/src/main/java/org/codehaus/mojo/build/BuildMojo.java
Modified : 
/trunk/mojo/buildnumber-maven-plugin/src/test/java/org/codehaus/mojo/build/TestBuildMojo.java



> Locale support for formatting dates and times
> ---------------------------------------------
>
>                 Key: MOJO-1193
>                 URL: http://jira.codehaus.org/browse/MOJO-1193
>             Project: Mojo
>          Issue Type: Improvement
>          Components: buildnumber
>            Reporter: Jukka Zitting
>            Assignee: Dan Tran
>            Priority: Minor
>         Attachments: buildnumber-locale.patch
>
>
> Currently the buildnumber plugin just uses the platform default locale when 
> formatting dates and times. This is troublesome as it makes the build result 
> depend on system- or user-specific settings.
> The attached patch adds an "locale" configuration option that can be used to 
> explicitly specify the locale to use for formatting. The default is still the 
> platform default locale, so this change should introduce no backwards 
> compatibility issues. I included a "@since 1.0-beta-2" for the configuration 
> option, hoping that this change could be included in the next release.
> There's also a simple unit test for the added locale support. To simplify the 
> tests I moved the shared code for getting the base directory up to the 
> setUp() method.

-- 
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to