debug time

This commit is contained in:
mr
2026-03-20 14:32:46 +01:00
parent 478e68e6d4
commit c9fcabac6e
2 changed files with 6 additions and 2 deletions

View File

@@ -217,7 +217,7 @@ func (d *WorkflowExecution) bookEach(executionsID string, wfID string, dt tools.
}
durationS := priced.GetExplicitDurationInS()
var endDate *time.Time
if durationS >= 0 {
if durationS > 0 {
e := start.Add(time.Duration(durationS) * time.Second)
endDate = &e
}