ICEfaces
  1. ICEfaces
  2. ICE-8819

ace:dateTimeEntry - add new "lenientParsing" attribute (was: Incorrect date converted on client side)

    Details

    • Assignee Priority:
      P1
    • Salesforce Case Reference:
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration
    • Workaround Exists:
      Yes
    • Workaround Description:
      Using the "dd/MM/yyyy hh:mm" pattern seems to help to keep the correct pattern.

      Description

      When using the following date pattern, dd/MM/yyyy, selecting a date displays the correct patter. Upon manually changing the day value to an incorrect value, the date is still converted to a valid day.

      For example:
       - Set a date via the popup calendar: 11/12/2012
       - Manually change the day value to: 211/12/2012
       - The date is converted to: 29/06/2013

      This is done on the client side so there is no chance to validate the date.

        Activity

          People

          • Assignee:
            yip.ng
            Reporter:
            Arran Mccullough
          • Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: