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

pxDateTime control for Date only is setting date to previous day

SA-28604

Summary



When using a pxDateTime control for a Date only capture, with a requestor in BST (GMT+1), the value set in the property is set to 1 day less as it's defaulting the time to 00:00:00.000 and then converting to GMT what is -1 hour, resulting in the final value to be stored as -1day 23:00:00.000.
The fix should be for the control to not do a time conversion when the data capture is for Date only.


Error Messages



Not Applicable


Steps to Reproduce

  1. Define a date time property
  2. Create a section using the date time property with a pxDateTime control setting it to only use (Edit and Read Only modes) the Date.
  3. Create an operator with locale as BST or any other timezone different from GMT
  4. Capture the date value and check the clipboard


Root Cause



This is a new feature request.


Resolution



An enhancement request, FDBK-16767, has been created for consideration by Pega Product Management. 
 

Published October 9, 2016 - 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