Merge pull request 'Say a plan's first send in the machine's own time' (#56) from fix/a-plan-says-local-time into main

This commit was merged in pull request #56.
This commit is contained in:
2026-10-05 16:35:25 +00:00
+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.