Date picker on mobile enters incorrect values in date field if glide.sys.date_format is set to dd-MM-yyyy


Description

If glide.sys.date_format is set to dd-MM-yyyy, picking a date in the mobile view for a date field results in incorrect values being saved.

Steps to Reproduce

  1. In Mobile view, add a field of type Date to the incident form for the Mobile view.

  2. Open an incident in Mobile view.

  3. Enter a date and save it, for example, 17/02/2016. Note that the correct date is saved and shown, for example, 17/02/2016.

  4. Open Desktop view.

  5. Modify the system property glide.sys.date_format from the old value of yyyy-MM-dd to a new value of dd-MM-yyyy.

  6. Open an incident in Mobile view.

  7. Enter a date and save it, for example, 17/02/2016. Note that the date is saved incorrectly as 09/08/0022.

Workaround

After carefully considering the severity and frequency of the issue, and the cost and risk of attempting a fix, it has been decided to not address this issue in any current or near future releases. We do not make this decision lightly, and we apologise for any inconvenience.

See also the related article Setting "glide.sys.date_format" to "MM-dd-yyyy" does not reflect on mobile device (native app / browser).


Related Problem: PRB665858