From 3614e9ad2f40e92a91b796ac815398e7b4f96c02 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 18 Mar 2021 21:15:16 -0700 Subject: Update event templates --- templates/full/alarm.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/full/alarm.vm') diff --git a/templates/full/alarm.vm b/templates/full/alarm.vm index 8f1164291..8eac3930a 100644 --- a/templates/full/alarm.vm +++ b/templates/full/alarm.vm @@ -4,7 +4,7 @@ Device: $device.name
Alarm: $position.getString("alarm")
-Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.serverTime, $locale, $timezone)
+Time: $dateTool.format("YYYY-MM-dd HH:mm:ss", $event.eventTime, $locale, $timezone)
Point: #{if}($position.address)$position.address#{else}$position.latitude°, $position.longitude°#{end}
-- cgit v1.2.3