Pick-up calendar in czech localization gives bad datetime format

XMLWordPrintable

    • 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.

              Assignee:
              Dushan Hanuska [Atlassian]
              Reporter:
              Josef Šustáček
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h