Question
Mphasis
IN
Last activity: 13 Sep 2018 12:33 EDT
Using Field level auditing wizard for date property, in history it shows in GMT, how to use dateformat
Hi,
I am using field level auditing wizard for one of the date property, In the history it shows the date in GMT. How can I format the date and where exactly.
e.g
If I am choosing a date 1/26/2018
it is printing :
Data field EndeIstTechnicalDate manually changed from null to '20180125T230000.000 GMT'
***Edited by Moderator Marissa to update categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Mphasis
IN
Thanks Rett,
So we used the customized control to change the format of the parameter in the pyHistoryMemo which Worked!!!
Pegasystems Inc.
US
I would try to reverse engineer the history table to understand what, if any, rules are available to customize. You may be able to apply a datetime control or other formatting options, depending on what you find.
Accepted Solution
Mphasis
IN
Thanks Rett,
So we used the customized control to change the format of the parameter in the pyHistoryMemo which Worked!!!
CXForward
US
Hi,
We are facing the same issue. Could you please explain the solution?
Thank you!
- Pramod
Maantic Inc
US
Can you share some details on the customization?
Public Safety Canada
CA
Hi,
We had a similar issue, where I applied the pxDateTime control to the parameter of a field value. While the format displays in the proper locale's structure (dd/MM/yyyy hh:mm:ss) instead of the ugly Java GMT timestamp, it is not converting to the right TIME ZONE first.
So using example timestamp: '20180125T010100.000 GMT' passed in as a parameter to a field value, would display as '25/01/2018 01:01:00 AM", which is an acceptable structure, but I expect it to display in Eastern Standard Time, which actually changes the calendar date since it is 5 hours behind, so it should actually show 24/01/2018 08:01:00 PM".
What is strange is that the exact same control, used in any other UI section, displays my expected format in the proper time zone. Just not in the parameters of field values.
Suggestions?
Maantic Inc
US
Were you able to find a solution? We are Facing a similar issue
Maantic Inc
US
Used the below control to address the issue. Comments appreciated on how to further improve this control to remove hard coded values: