When using 2-digit years, the date picker is inconsistent with the database for years between 2030 and 19 years in the future

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 8.0.0, 11.3.14
    • Component/s: Issue - Fields
    • None
    • 8
    • 1
    • Severity 3 - Minor

      Issue Summary

      When Jira is configured to display 2-digit years, the date picker uses a fixed threshold where years 00-29 are interpreted as 20xx years, while 30-99 are 19xx years. However, the dates actually stored in Jira's database use a rolling threshold of 20 years in the future, which advances every year.

      This inconsistency between the frontend and backend thresholds misleads users when editing future dates between 2030 and 19 years in the future. Users mistakenly believe, based on the date picker display, that the year was saved as 19xx when it was actually saved as 20xx.

      Steps to Reproduce

      1. Ensure that Jira’s date formats are set to use 2-digit years.
      2. Edit a date field and set the date to a year between 2030 and 19 years in the future.
      3. Check the stored date in the Jira database.
      4. Edit the date field again.

      Expected Results

      The date picker should show a year consistent with the value stored in the Jira database.

      Actual Results

      The date picker shows the year as 19xx, while the year in the Jira database is stored as 20xx (see attached video Date inconsistency.mp4).

      Workaround

      Currently there is no known workaround for this behaviour. A workaround will be added here when available.

              Assignee:
              Unassigned
              Reporter:
              Marcus Fong
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: