aboutsummaryrefslogtreecommitdiff
path: root/templates/sms/deviceOverspeed.vm
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-03-14 09:11:11 +0500
committerAbyss777 <abyss@fox5.ru>2017-03-14 09:11:11 +0500
commit632e6ad06c435ca8d044e5ae3209cde36cf42743 (patch)
tree959a7791c6c436f1a8452de9adf0b3d5e0d36dcf /templates/sms/deviceOverspeed.vm
parent2309d53f52f25efe00f2195a58c448506a2605ab (diff)
downloadtrackermap-server-632e6ad06c435ca8d044e5ae3209cde36cf42743.tar.gz
trackermap-server-632e6ad06c435ca8d044e5ae3209cde36cf42743.tar.bz2
trackermap-server-632e6ad06c435ca8d044e5ae3209cde36cf42743.zip
- Use ternary operator
- Apply server.forceSettings to speed units, distance units and timezone - Use hyphens for date formatting
Diffstat (limited to 'templates/sms/deviceOverspeed.vm')
-rw-r--r--templates/sms/deviceOverspeed.vm2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/sms/deviceOverspeed.vm b/templates/sms/deviceOverspeed.vm
index 4e3219a18..3c9eae628 100644
--- a/templates/sms/deviceOverspeed.vm
+++ b/templates/sms/deviceOverspeed.vm
@@ -5,4 +5,4 @@
#else
#set($speedString = "$position.speed kn")
#end
-$device.name exceeds the speed $speedString at $dateTool.format("YYYY.MM.dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+$device.name exceeds the speed $speedString at $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)