Support Article

pxDateTime control does not display days and hours

SA-74253

Summary



When the out-of-the-box pyAssignmentShortSummary section is used to display the Goal time of an assignment, the pxGoalTime property is used. However, the correct time does not display when the format, '2 days, 5 hours' or '2 d, 5 h', is selected from the DateTime format.


Error Messages



Not Applicable


Steps to Reproduce

  1. Set the Goal and Deadline for a case.
  2. Use the out-of-the-box pyAssignmentShortSummary to display the goal.
  3. Generate a case.


Root Cause



A defect in Pegasystems’ code or rules.

Currently, SLA goal is rendered in the Template mode and Deadline in the non-template mode. In the Template mode, the time change is considered from milliseconds change and in non-template mode, time change is considered from minutes change to calculate the difference.


Resolution



Apply HFix-50554.

Published February 26, 2019 — Updated April 12, 2019

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.