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

Timezone does not display when exporting to PDF or Excel

SA-59008

Summary



DateTime value with timezone does not display when exporting to PDF or Excel.


Error Messages



Not Applicable


Steps to Reproduce

  1. Configure a grid using report definition that contains custom format for date that includes timezone.
  2. Add a button on the grid.
  3. Invoke the 'pega.report.commandribbon.exporttopdfJavaScript function. This initiates the Export to PDF feature. The timezone displays when the grid is run, however, it does not display in the PDF.


Root Cause



A defect in Pegasystems’ code or rules.

When the report grid was created, pxDateTime control properties were not merged correctly and the pyFormatType property was missing. Due to the missing property, custom date formatting code was not invoked. Therefore, the timezone was not appended to the DateTime during export to Excel or PDF.


Resolution



Apply HFix-44249.


 

Published July 23, 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