Date Picker has not the same conversion in Java and Javascript

XMLWordPrintable

    • Type: Support Request
    • Resolution: Duplicate
    • Priority: Medium
    • None
    • Affects Version/s: 5.1.8
    • Component/s: None

      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.

            Assignee:
            Unassigned
            Reporter:
            Vincent Thoulé
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: