Support Article
"Deadline date" is shown in the wrong format in localized app
SA-22539
Summary
When a case which has passed the deadline, is opened, the deadline is shown in the top in the wrong format.
Example:
Current localized format for German: 22 Stunden vor
Expected localized format for German: vor 22 Stunden
Error Messages
Not applicable.
Steps to Reproduce
1. Localize your application.
2. Open the case manager portal.
3. Open any case which has passed the deadline. Observe the format in which the deadline time is shown at the top the case.
Root Cause
A defect in Pegasystems’ code or rules.
This is due to the usage of wrong pyFormatter field values in the control pyCaseDeadline. This causes the words to be translated separately and is wrong in context in some languages. New pyFormatter field values when used will solve this problem.
Resolution
Perform the following local-change:
Update the pyAssignmentShortSummary section and replace the pyCaseDeadline control with pxDateTime control with '2 days, 5 hours ago' date time format.
Published April 27, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.