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:
@@ -591,7 +591,7 @@ func advanceOnce(ctx context.Context, open *stores, p *inventory.Plan,
|
|||||||
fmt.Printf("%s: %s\n", p.ID, p.Note)
|
fmt.Printf("%s: %s\n", p.ID, p.Note)
|
||||||
return true, nil
|
return true, nil
|
||||||
case step.waiting != "":
|
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
|
continue
|
||||||
case len(step.send) == 0:
|
case len(step.send) == 0:
|
||||||
// No machine runs it: nothing to send, and nothing to wait for.
|
// No machine runs it: nothing to send, and nothing to wait for.
|
||||||
|
|||||||
Reference in New Issue
Block a user