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

Igor Vaynberg resolved WICKET-3301.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-M4
         Assignee: Igor Vaynberg

> SimpleDateFormat-s should be created with Locale defined in constructor
> -----------------------------------------------------------------------
>
>                 Key: WICKET-3301
>                 URL: https://issues.apache.org/jira/browse/WICKET-3301
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket, wicket-datetime
>    Affects Versions: 1.5-M3
>            Reporter: Attila Király
>            Assignee: Igor Vaynberg
>             Fix For: 1.5-M4
>
>         Attachments: WICKET-3301.patch
>
>
> The wicket-core junit test o.a.w.util.time.TimeTest.test() fails on computers 
> where the default locale strings for "Am/pm marker" is not am/pm. The reason 
> for this is that wicket uses SimpleDateFormat(String pattern) constructor 
> instead of SimpleDateFormat(String pattern, Locale locale) in a lot of places 
> and so the system default locale is used.
> I think for consistent results wicket should always specify a locale and not 
> depend on the system default.

-- 
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