Broken DateFormat in Reports DatePicker fields.

XMLWordPrintable

    • Type: Bug
    • Resolution: Not a bug
    • Priority: Medium
    • None
    • Affects Version/s: 7.2.0, 7.2.4, 7.3.1, 7.3.7, 7.6.1, 7.6.4, 7.7.0
    • None
    • 7.02
    • 9
    • Severity 2 - Major
    • 45

      Issue Summary

      When a dateformat is configured in JIRA for the datepicker field, JIRA fails to abide by this date ruling for datepicker fields found in report pages.

      Environment

      Steps To Reproduce

      1. Go to Admin > System > General Configuration page.
      2. Click on Advanced Settings
      3. Modify the Java date picker to the format dd.mm.YYYY
      4. Modify the JavaScript date picker to the format %d.%m.%Y
      5. Go to Look & Feel page.
      6. Modify the date picker to: dd/MM/yy
      7. Install the plugin Timesheet Report and Gadget for JIRA.
      8. Go any project > Report > Timesheet Report page.
      9. Attempt to use the date picker fields.

      Expected Result

      • JIRA would show the correct date format where 1/10/2016 = 1st October 2016.

      Actual Result

      • JIRA would show the incorrect date format where 1/10/2016 = 10th January 2016.

      Note

      The issue disappears once the day goes past a corresponding month.

      Workaround

      • This has been fixed on the add-on side. Upgrading to version 3.2 of Timesheet Reports and Gadgets or newer will fix the behavior reported here.

        1. calendar-bug.png
          calendar-bug.png
          133 kB
        2. screenshot-1.png
          screenshot-1.png
          106 kB
        3. Wrong date 9 Januari 2017.PNG
          41 kB

            Assignee:
            Unassigned
            Reporter:
            Ismael Olusula Jimoh (Inactive)
            Votes:
            47 Vote for this issue
            Watchers:
            45 Start watching this issue

              Created:
              Updated:
              Resolved: