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

A "Due Date" field is one behind in backend.

SA-16945

Summary



The Date time property is displaying the GMT date time instead of date time according to time zone.


Error Messages



Not Applicable


Steps to Reproduce



1) Create a section and include a date time property in it.
2) Create a flow action and flow, include above created section in it.
3) Run the flow and enter any date time value.


Root Cause



The control date_short_i18n was being used with the date property and it displays only GMT date time.

Resolution



Perform the following local-change:

1) Create a new control and copy the code of Date-Short-i18n.
2) Add the below code in the place of the "GMT" in the control.

    String strTimeZone = tools.findPage(".pxRequestor").getString(".pyUseTimeZone");

 

Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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