E-IB/E-ES: ToString() Method On JSONObject Class Is Modifying Format Of The DateTime From YYYY-MM-DDTHH:MI:SS
(Doc ID 2800665.1)
Last updated on JANUARY 04, 2022
Applies to:
PeopleSoft Enterprise PT PeopleTools - Version 8.58 and laterInformation in this document applies to any platform.
Symptoms
toString() method on JSONObject class is modifying format of the dateTime from YYYY-MM-DDTHH:MI:SS.xxxZ to YYYY-MM-DD HH:MI:SS.0000xxx. As a result of this when JSON string is stored in database and later retrieved back to JSON object then getDateTime() no longer works as the it expects the format to be YYYY-MM-DDTHH:MI:SS.xxxZ.
The issue can be reproduced at will with the following steps:
1. Open in Application Designer the PSTESTUTIL page
2. On a FieldChange event on button write the following PeopleCode:
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |