Blank dates displaying as 1970
As per Pega suggestion mentioned in the following link:
the dynamic system setting (DSS) "disableEpochDateTime" was set to true but it still displays a blank date as 1970.
Steps to Reproduce
Perform the following local-change steps:
- Do a SET action in a DataTransform to set a Date property (say A) using another property (say B).
- At runtime if property B is blank then A will be set to the value 01-jan-1970.
disableEpochDateTime is applicable only for the integration layer which relies on following api internally - com.pega.pegarules.pub.util.PRDateFormat.formatXSDDateTime(Date).
As far as the SET action/property-set methods in the clipboard layer return the default value for properties of type DateTime and the default value is 01-jan-1970. It is expected behavior that the clipboard layer will not return an empty value.
Add a when condition before the SET action to check if the value is blank or not. If the value is blank then skip the step.
50% found this useful