From 2dadb412dbdedc35865853a4a15acb94b539191f Mon Sep 17 00:00:00 2001 From: andig Date: Fri, 9 Sep 2022 13:59:28 +0200 Subject: [PATCH] Log time in local zone --- core/soc/timer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/soc/timer.go b/core/soc/timer.go index 7468ffe86..af2691492 100644 --- a/core/soc/timer.go +++ b/core/soc/timer.go @@ -142,7 +142,7 @@ func (lp *Timer) DemandActive() bool { lp.Publish("targetTimeActive", lp.active) lp.current = lp.GetMaxCurrent() - lp.log.INFO.Printf("target charging active for %v: projected %v (%v remaining)", lp.Time, lp.finishAt, remainingDuration.Round(time.Minute)) + lp.log.INFO.Printf("target charging active for %v: projected %v (%v remaining)", lp.Time.Local(), lp.finishAt.Local(), remainingDuration.Round(time.Minute)) } return lp.active