Privileged Account request notification mail start_date is not correct

Document ID : KB000007353
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

We are using TEC1679547 for to set date/times to have the local timezone in approval emails.

The Day for start_date is 1 day ahead.

 

For example, in the email:

Request start date: June 13, 2017 8:57:00 AM EST

Request valid until: June 12, 2017 11:57:00 AM EST

 

This should be:

Request start date: June 12, 2017 8:57:00 AM EST

Request valid until: June 12, 2017 11:57:00 AM EST

 

Resolution:

From 12.9 and above, and if you apply fix T51S038 to 12.8CF3, you need to replace the following:

 

_eventContextInformation.getSecondaryObjectAttribute("START_DATE", ""); 

_eventContextInformation.getSecondaryObjectAttribute("VALID_UNTIL", ""); 

 

With:

 

_eventContextInformation.getSecondaryObjectAttributeForDate("START_DATE", ""); 

_eventContextInformation.getSecondaryObjectAttributeForDate("VALID_UNTIL", ""); 

 

This will insure correct conversion of datetimes to localtime.