[
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