-
Bug
-
Resolution: Unresolved
-
Low (View bug fix roadmap)
-
None
-
7.2.0, Archived Jira Cloud, 7.9.2, 7.12.3, 8.1.0, 8.19.1, 8.20.1
-
Appears on Jira systems where English is not the default system language, and where the selected language/region might have different abbreviations for the names of months than is default to United States English.
-
7.02
-
120
-
Severity 3 - Minor
-
9
-
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
Summary
When editing a Date Picker field (Due Date, for example), when Jira default language is set to Danish/Portuguese/Slovencina/Swedish/Russian, the date filled when the user clicks on the calendar icon and picks a day is filled with an invalid format.
Examples
For example, in Portuguese-PTBR it is expected a date like 6/set/16 and the date picker fills as 6/Sep/16, throwing an error for the date format.
In the Danish example, all months selected (Except Maj or May) all appear to be forcing their abbreviations with an additional period '.'
14/nov/18
Vælg en dato
Ugyldigt datoformat. Indtast en dato i formatet "d/MMM/yy".
However entering a value such as '14/nov./18' will work correctly (except for the month of may which is not technically abbreviated with only 3 characters).
The same happens with Russian language, forcing months' abbreviations with an additional period '.'
Environment
- Jira 7.2 or 7.2.1 with a translation pack (tested with Portuguese-PTBR and Slovenian)
- Jira 7.12.3 with Danish default language set
- Jira 8.19.1 with Russian default locale language set
- Jira 9.12.x with Spanish set as the default language
Steps to Reproduce
- In the system administration panel, switch the General Setting of system language to a language such as Danish, Portuguese, Spanish or Slovenia
- Access a ticket on Jira
- Click on Edit and modify a Date Picker field value, by choosing a date after clicking on the calendar icon next to the field.
- Attempt to save the date changes
Expected Results
The date is filled correctly according to the language pack.
Actual Results
Jira returns an error message that the date format is invalid. However the javascript date picker, java input format, and look and feel settings are correctly set.
Notes
This bug ticket was originally indicating that the translation pack might have been the cause of this problem. However upon further investigation it appears that Jira itself is not correctly handling regional differences in regards to month names and their appropriate abbreviation to that region / locale. For Danish this is particularly difficult because the region appears to require that 3 letter month abbreviations end with a period. The Javascript date picker can be configured to adjust to that, but not for the month of May/Maj.
Workaround 1
Workaround 2
For Portuguese, Spanish and Dutch:
This is not reproducible when using the d/MM/yy format (9/6/16 for example), so users can do the following to change the format:
- Go to Administration > System > Advanced Settings
- Change the following parameters:
jira.date.picker.java.format = d/MM/yy
jira.date.picker.javascript.format = %e/%m/%y
jira.date.time.picker.java.format = dd/MM/yy h:mm a
jira.date.time.picker.javascript.format = %e/%m/%y %l:%M %p
- is duplicated by
-
JRASERVER-62929 When language is set to French, date picker bug
-
- Gathering Impact
-
- relates to
-
JRACLOUD-62590 Date picker not working when Jira is using Danish
-
- Closed
-
Form Name |
---|
Date picker not working when Jira is using Portuguese, Spanish, Solvenia, Danish, Swedish, Dutch, Russian, German
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.2.0, Archived Jira Cloud, 7.9.2, 7.12.3, 8.1.0, 8.19.1, 8.20.1
-
Appears on Jira systems where English is not the default system language, and where the selected language/region might have different abbreviations for the names of months than is default to United States English.
-
7.02
-
120
-
Severity 3 - Minor
-
9
-
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
Summary
When editing a Date Picker field (Due Date, for example), when Jira default language is set to Danish/Portuguese/Slovencina/Swedish/Russian, the date filled when the user clicks on the calendar icon and picks a day is filled with an invalid format.
Examples
For example, in Portuguese-PTBR it is expected a date like 6/set/16 and the date picker fills as 6/Sep/16, throwing an error for the date format.
In the Danish example, all months selected (Except Maj or May) all appear to be forcing their abbreviations with an additional period '.'
14/nov/18
Vælg en dato
Ugyldigt datoformat. Indtast en dato i formatet "d/MMM/yy".
However entering a value such as '14/nov./18' will work correctly (except for the month of may which is not technically abbreviated with only 3 characters).
The same happens with Russian language, forcing months' abbreviations with an additional period '.'
Environment
- Jira 7.2 or 7.2.1 with a translation pack (tested with Portuguese-PTBR and Slovenian)
- Jira 7.12.3 with Danish default language set
- Jira 8.19.1 with Russian default locale language set
- Jira 9.12.x with Spanish set as the default language
Steps to Reproduce
- In the system administration panel, switch the General Setting of system language to a language such as Danish, Portuguese, Spanish or Slovenia
- Access a ticket on Jira
- Click on Edit and modify a Date Picker field value, by choosing a date after clicking on the calendar icon next to the field.
- Attempt to save the date changes
Expected Results
The date is filled correctly according to the language pack.
Actual Results
Jira returns an error message that the date format is invalid. However the javascript date picker, java input format, and look and feel settings are correctly set.
Notes
This bug ticket was originally indicating that the translation pack might have been the cause of this problem. However upon further investigation it appears that Jira itself is not correctly handling regional differences in regards to month names and their appropriate abbreviation to that region / locale. For Danish this is particularly difficult because the region appears to require that 3 letter month abbreviations end with a period. The Javascript date picker can be configured to adjust to that, but not for the month of May/Maj.
Workaround 1
Workaround 2
For Portuguese, Spanish and Dutch:
This is not reproducible when using the d/MM/yy format (9/6/16 for example), so users can do the following to change the format:
- Go to Administration > System > Advanced Settings
- Change the following parameters:
jira.date.picker.java.format = d/MM/yy
jira.date.picker.javascript.format = %e/%m/%y
jira.date.time.picker.java.format = dd/MM/yy h:mm a
jira.date.time.picker.javascript.format = %e/%m/%y %l:%M %p
- is duplicated by
-
JRASERVER-62929 When language is set to French, date picker bug
-
- Gathering Impact
-
- relates to
-
JRACLOUD-62590 Date picker not working when Jira is using Danish
-
- Closed
-