Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4796

DatePickerTest fails because of java inconsistensy on localizing March german shortname Mrz vs Mär

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 6.0.0
    • 6.2.0
    • wicket-datetime
    • None
    • java 8

    Description

      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.

      Attachments

        1. fix-WICKET-4796.patch
          7 kB
          Mikko Tiihonen

        Activity

          People

            svenmeier Sven Meier
            mikko Mikko Tiihonen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: