[ 
https://issues.apache.org/jira/browse/WICKET-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gerolf Seitz resolved WICKET-1401.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.2
         Assignee: Gerolf Seitz

thanks

> StyleDateConverter does not use the components Locale when formatting.
> ----------------------------------------------------------------------
>
>                 Key: WICKET-1401
>                 URL: https://issues.apache.org/jira/browse/WICKET-1401
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3.1
>            Reporter: Ned Collyer
>            Assignee: Gerolf Seitz
>             Fix For: 1.3.2
>
>
> The StyleDateConverter class does not use .withLocale(getLocale()) in the 
> getFormat() method.
> This means that any "LL" formatted dates do not have the correct translations 
> present when outputting words (eg, month).
> protected DateTimeFormatter getFormat() {
>   DateTimeFormatter dtf = 
> DateTimeFormat.forPattern(getDatePattern()).withPivotYear(2000);
>   return dtf;
> }
> should be
> protected DateTimeFormatter getFormat() {
>   DateTimeFormatter dtf = 
> DateTimeFormat.forPattern(getDatePattern()).withLocale(getLocale()).withPivotYear(2000);
>   return dtf;
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to