Support Article

Incorrect date format when text entry allowed in date control

SA-32134

Summary



When date control is configured to be editable("Allowed text entry radio is selected" and custom form (dd/MM/yyyy) is provided, date stored is in different format.


Error Messages



Not applicable


Steps to Reproduce



1. Take a date time control.
2.. Add custom format as dd/MM/yyyy in presentation tab of the control.
3. Select 'allow text entry' radio button.
4. Now, create a case and select date from calendar pop-up. Format displayed is MM/dd/yyyy when the focus is still in the control.

Format changes to the expected one as mentioned in the control while the focus is outside.


Root Cause



This is not an issue. It is an expected behavior.

Resolution



Here’s the explanation for the reported behavior: 
User configured date time control in presentation tab is only the Read only format.

The above specified  format will be displayed while the focus is in out of the date time control.

This is an expected behavior of date time control.

​Also advisable to use the locale settings. If the locale settings is not set , the date time control will take the browser default locale setting.

Published January 5, 2017 - Updated January 11, 2017


0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.