diff options
author | Abyss777 <abyss@fox5.ru> | 2017-03-14 09:11:11 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-03-14 09:11:11 +0500 |
commit | 632e6ad06c435ca8d044e5ae3209cde36cf42743 (patch) | |
tree | 959a7791c6c436f1a8452de9adf0b3d5e0d36dcf /templates/mail/deviceOverspeed.vm | |
parent | 2309d53f52f25efe00f2195a58c448506a2605ab (diff) | |
download | trackermap-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/mail/deviceOverspeed.vm')
-rw-r--r-- | templates/mail/deviceOverspeed.vm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mail/deviceOverspeed.vm b/templates/mail/deviceOverspeed.vm index 1836dacd5..3b203ddcd 100644 --- a/templates/mail/deviceOverspeed.vm +++ b/templates/mail/deviceOverspeed.vm @@ -11,7 +11,7 @@ <body> Device: $device.name<br> Exceeds the speed: $speedString<br> -Time: $dateTool.format("YYYY.MM.dd HH:mm:ss", $event.serverTime, $locale, $timezone)<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> |