How to override timezone in 'event.timestamp' for workflow emails?
In our project we are using Adobe OOTB workflow steps in our custom workflows, the workflow email are utilizing the template located at /etc/workflow/notification/email/default/en.txt . This txt file has a variable as Time: ${event.TimeStamp} with the value coming in emails as as Time: Mon Sep 28 16:55:50 UTC 2020 (sample value)
Now our requirement is to override/change this variable, So that it picks up local timezone of aem users, So can you guys please help me a way of modifying this UTC timezone to local timezone of users?
Could you please tell me:
1) Is there a way of modifying this UTC timezone to local timezone of users?
@nikhil-kumar
@chitramadan
@darren_bowers
@sunjot16
@workflowuser