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

Broken DateFormat in Reports DatePicker fields.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a bug
    • Medium
    • None
    • 7.2.0, 7.3.1, 7.3.7, 7.6.1, 7.7.0, 7.6.4, 7.2.4
    • None

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: