chore: always publish time in RFC 3339 (#5886)

This commit is contained in:
andig 2023-01-24 18:43:38 +01:00 • committed by GitHub
parent f0f1f8c299
commit 72121dbcfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 6 deletions

View file

@ -586,7 +586,7 @@ func (site *Site) prepare() {
site.publish("residualPower", site.ResidualPower)
site.publish("currency", site.tariffs.Currency.String())
site.publish("savingsSince", site.savings.Since().Unix())
site.publish("savingsSince", site.savings.Since())
site.publish("vehicles", vehicleTitles(site.GetVehicles()))
}