Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Application automatically changes the separator in Date field

SA-66218

Summary



Error occurs on entering a date like '9-15-2018' in the Date field. Eventually, Pega automatically changes the date format to '9/15/2018 which confuses the user. 


Error Messages



9-15-2018 is not a valid date value


Steps to Reproduce

  1. Create a Date property and use that property in a section with a DateTime control
  2. Configure a change event with post value and refresh this section actions on the DateTime control
  3. Run the case with the DateTime control
  4. Enter 9-12-2018 and click the screen. It automatically changes to 9/12/2018


Root Cause



A defect in Pegasystems’ code or rules. On Refresh, the value is submitted and at server side the value is formatted correctly. However, this does not change the value in the Clipboard. Client side validation occurs on values present on the Clipboard, and hence the flow results in an error.


Resolution



Perform the following local-change: 
  1. Open the Cell properties and navigate to the Presentation tab
  2. Choose 'Allow text entry' radio button as 'No'

 

Published November 1, 2018 - Updated October 8, 2020

Was this useful?

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.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us