<#setting time_zone="America/New_York">
Time: ${response.currentDate?开发者_如何学Pythonstring("MM/dd/yyyy hh:mm a zzz")}.
I need the timezone to be displayed as 'EST'. But currently, when i run the application and the email gets generated from the template above, it is displaying as 'EDT'.
Can you please let me know what needs to be done to show as 'EST'? The current timezone (on the system where I am testing) is Indian Standard Time
Thanks!
try <#setting time_zone="US/Eastern">
The behavior is expected at this point of year. Refer: http://www.timeanddate.com/library/abbreviations/timezones/na/edt.html
(thanks to the above comment by Jon)
精彩评论