fix timestamp

This commit is contained in:
Joerg Lehmann 2021-12-17 20:48:10 +01:00
parent c678fbe5cd
commit 8e4bc7a02b
1 changed files with 0 additions and 1 deletions

View File

@ -519,7 +519,6 @@ func getLastMetrics(deveui string) OneMetric {
continue
}
res.Timestamp = t.In(location).Format("02.01.2006 15:04")
res.BatteryPercent = strconv.Itoa(vbat2percent(s[len(s)-1]))
res.BatteryPercentHTML = template.HTML(vbat2html(s[len(s)-1]))
}