Log time in local zone
This commit is contained in:
parent
562d6e4077
commit
2dadb412db
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue