-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: 3.12.3
-
Component/s: None
-
Environment:
Win xp, czech localization of Jira, Jira 3.12.3 Enterprise
-
3.12
When I want to log work on some issue and want to use the Calendar (date picker), the datetime is returned in a format, that is not validated after submitting.
When I display the form, the "Start Date" field initially contains a datetime ending with "dop." or "odp." (which is correct czech equivalent for AM/PM). But the calendar returns a datetime string ending with "AM" or "PM". When I try to submit the form with a date entered via Calendar, its is not accepted, an error is raised saying "You must specify a date on which the work occurred.".
When I browse the source of calendar-cs.js, at the end it contains rows:
// local AM/PM designators
Calendar._TT["AM"] = "AM";
Calendar._TT["PM"] = "PM";
Calendar._TT["am"] = "am";
Calendar._TT["pm"] = "pm";
which is not correct for czech language. I think, this is the problem.
- is superseded by
-
JRASERVER-15173 Most of the calendar translations do not have AM / PM symbols translated and most likely cause errors when entering date / time using pop-up calendar (date picker)
-
- Closed
-