Fix two date-related bugs in critical path visualizer
This MR fixes two date-related bugs in the critical path visualizer gantt generator:
-
startedAt
is taking the maximum instead of the minimum, which it logically should, and -
finishedAt
defaults to Infinity if a job is running, so we need to cap it toDate.now()
Edited by Kev Kloss