You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Mikko Tiihonen (JIRA)" <ji...@apache.org> on 2012/10/01 18:25:07 UTC

[jira] [Updated] (WICKET-4796) DatePickerTest fails because of java inconsistensy on localizing March german shortname Mrz vs Mär

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

Mikko Tiihonen updated WICKET-4796:
-----------------------------------

    Attachment: fix-WICKET-4796.patch

Patch to switch test to use Italian instead of German
                
> DatePickerTest fails because of java inconsistensy on localizing March german shortname Mrz vs Mär
> --------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4796
>                 URL: https://issues.apache.org/jira/browse/WICKET-4796
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 6.0.0
>         Environment: java 8
>            Reporter: Mikko Tiihonen
>            Priority: Trivial
>         Attachments: fix-WICKET-4796.patch
>
>
> The Oracle java7 and older return Mrz as german march short name.
> The Oracle java8 seems to have switched to the official (see http://de.wikipedia.org/wiki/Vorlage:Monat_Name-Nummer ) three letter short name Mär.
> Some googling showed that IBM java has used the offical short name at least since 2008.
> I propose as a fix that the non-english test language is changed to something other than Locale.GERMAN in DatePickerTest method myTestExecution. For example Locale.ITALIAN, which has had consistent localization in Java world. Plus of course the reference data in DatesPage1_ExpectedResult.html needs to be regenerated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira