diff options
author | Abyss777 <abyss@fox5.ru> | 2017-03-13 17:52:28 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-03-13 17:52:28 +0500 |
commit | 2309d53f52f25efe00f2195a58c448506a2605ab (patch) | |
tree | 9fdddd2384e4e331c1642f919d3db4fb1621cccb /templates/mail/ignitionOn.vm | |
parent | 633bed5cd14c16d53c7b84ed2c6586915467e1a8 (diff) | |
download | trackermap-server-2309d53f52f25efe00f2195a58c448506a2605ab.tar.gz trackermap-server-2309d53f52f25efe00f2195a58c448506a2605ab.tar.bz2 trackermap-server-2309d53f52f25efe00f2195a58c448506a2605ab.zip |
- Add timezone field to User and Server model
- Pass Velocity DateTool to templates
- Adjusted templates to use timezone
Diffstat (limited to 'templates/mail/ignitionOn.vm')
-rw-r--r-- | templates/mail/ignitionOn.vm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mail/ignitionOn.vm b/templates/mail/ignitionOn.vm index bbe6c40f6..ad039a849 100644 --- a/templates/mail/ignitionOn.vm +++ b/templates/mail/ignitionOn.vm @@ -4,7 +4,7 @@ <body> Device: $device.name<br> Ignition ON<br> -Time: $event.serverTime<br> +Time: $dateTool.format("YYYY.MM.dd HH:mm:ss", $event.serverTime, $locale, $timezone)<br> Point: <a href="$webUrl?eventId=$event.id">#{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}</a><br> </body> </html> |