Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-41321

JAVA 8 in JIRA does not recognize some dates set in foreign language

XMLWordPrintable

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary of bug

      When using JIRA with JAVA 1.8 (and using it in a non-English language), JIRA might not recognize the dates properly, even when they are set according to the date picker format

      Steps to replicate

      1. Setup JIRA with JAVA 1.8 (preferable JIRA 6.3 and above)
      2. Set JIRA to use one of the affected languages (more on that later). For now we shall use German
      3. Set the due date to be in March
      4. The result is as follows :

      Additional Info

      • This does not seem to be able to be replicated if using JAVA 1.7 or below
      • Another affected language found so far is Czech :
      • This seems to only affect certain months/patterns (for example, using the German language example above, March is affected, but not December)
      • Tested in JIRA 6.3.9 with Postgres

      Possible Workaround:

      • Change the date format from 20/Mrz/15 to 20.03.15 with the below setting in Advanced Settings:
        jira.date.picker.javascript.format=%d.%m.%y
        jira.date.time.picker.javascript.format=%d.%m.%y %H:%M
        jira.date.time.picker.java.format=d.MM.yy H:mm
        jira.date.picker.java.format=d.MM.yy
        

        1. czech lang.png
          czech lang.png
          57 kB
        2. german lang.png
          german lang.png
          57 kB

              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              jtye Joe Wai Tye (Inactive)
              Votes:
              21 Vote for this issue
              Watchers:
              46 Start watching this issue

                Created:
                Updated:
                Resolved: