reanahub / reana-ui

REANA UI frontend
http://reana-ui.rtfd.io
MIT License
4 stars 33 forks source link

util: change wf duration calculation depending on status #338

Closed giuseppe-steduto closed 1 year ago

giuseppe-steduto commented 1 year ago

Change the way in which the displayed workflow duration is calculated depending on the status of the workflow: if the workflow is finished or deleted, take as "finished" moment the value run_finished_at, but if the workflow is stopped, consider run_stopped_at as the ending moment relative to which the duration is calculated.

Closes #337