Date type property does not accept two-digit year
An inbound service delivers a six-digit date in YYMMDD format to set into a Date property through an activity. In Pega 7.1.9, the Property-Set step of the activity fails because it expects an eight-digit date in YYYYMMDD format.
"String not a Date: 160826"
Steps to Reproduce
- Create a Date or DateTime property in Pega 7.1.9.
- Create an activity to execute a Property-Set step to set the Date or DateTime property with YYMMDD date string.
- Run the activity.
As part of changes made for BUG-115779, support for converting six-digit date string to correct date is lost.
Published October 13, 2016 - 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.