aboutsummaryrefslogtreecommitdiff
path: root/templates/sms/deviceOnline.vm
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-03-13 17:52:28 +0500
committerAbyss777 <abyss@fox5.ru>2017-03-13 17:52:28 +0500
commit2309d53f52f25efe00f2195a58c448506a2605ab (patch)
tree9fdddd2384e4e331c1642f919d3db4fb1621cccb /templates/sms/deviceOnline.vm
parent633bed5cd14c16d53c7b84ed2c6586915467e1a8 (diff)
downloadtraccar-server-2309d53f52f25efe00f2195a58c448506a2605ab.tar.gz
traccar-server-2309d53f52f25efe00f2195a58c448506a2605ab.tar.bz2
traccar-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/sms/deviceOnline.vm')
-rw-r--r--templates/sms/deviceOnline.vm2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/sms/deviceOnline.vm b/templates/sms/deviceOnline.vm
index e8bc0a5bf..48e81ec75 100644
--- a/templates/sms/deviceOnline.vm
+++ b/templates/sms/deviceOnline.vm
@@ -1 +1 @@
-$device.name online at $event.serverTime
+$device.name online at $dateTool.format("YYYY.MM.dd HH:mm:ss", $event.serverTime, $locale, $timezone)