only one i got is $event.serverTime
Thu Jan 04 14:19:28 CET 2018
I'm not sure if it's possible. And even if it is, you should obviously escape double quotes in the string.
$event.serverTime
is fine for me. Thanks for answer, thanks for great software Anton
This working fine to me
#set($subject = " $dateTool.format('hh:mm:ss', $event.serverTime, $locale, $timezone) test")
The result is
Subject: 01:36:46 test
great job :)
how to set it to local time? it shows as UTC
You need to configure user or server timezone in attributes.
oh.. ok :D
I tried to use
but it couse a error