Say a plan's first send in the machine's own time, as every other line does

It is kept in UTC and was printed so: 16:32 beside log lines saying 18:32.
This commit is contained in:
jochen
2026-10-05 18:35:13 +02:00
parent 6abce7e956
commit 5dcf33db45
+1 -1
View File
@@ -591,7 +591,7 @@ func advanceOnce(ctx context.Context, open *stores, p *inventory.Plan,
fmt.Printf("%s: %s\n", p.ID, p.Note)
return true, nil
case step.waiting != "":
pending = append(pending, fmt.Sprintf("%s on %s, sent first at %s", m, step.waiting, state.FirstAt.Format("15:04")))
pending = append(pending, fmt.Sprintf("%s on %s, sent first at %s", m, step.waiting, state.FirstAt.Local().Format("15:04")))
continue
case len(step.send) == 0:
// No machine runs it: nothing to send, and nothing to wait for.