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

Date Picker has not the same conversion in Java and Javascript

    XMLWordPrintable

Details

    • Support Request
    • Resolution: Duplicate
    • Medium
    • None
    • 5.1.8
    • None

    Description

      With Date Format set to dd/mm/yyyy, if a user enter a Date in Date Picker field using the format dd/mm/yy, and then access to the Calendar, there is an auto-completion to dd/mm/yyyy based on a pivot around 2029.

      But he validates the forms directly, on server side, the date is converted in dd/mm/00yy. 1/1/13 gives 01 Jan. 0013.

      It would be useful to have the same behaviour on both side.

      I tried a workaround using ALS and performing the JS conversion (Date.parseDate method) on Blur and KeyPress (key=13) events, but I have not success to identify correclty Date and DateTime Pickers.

      V.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              5d77aaa81033 Vincent Thoulé
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: