Closed mnonnenmacher closed 2 weeks ago
Somewhat related, after reading though this I wonder whether we should stop using new Date()
and rather use a library that could also be used to replace our own calculateDuration()
, which I'd like to show days as well. @mmurto any opinion?
I think we're relatively safe with the native Date
as all timestamps come from the database and I'd assume they're well and consistently formatted. I've used date-fns for more advanced stuff, it's good.
Where did you run to showing days? Isn't it currently used for run durations, I'd like to believe they're more in the minutes and hours range. :D
Where did you run to showing days?
Check global run ID 6 in our instance 😉
Currently, the ORT runs table only shows the date when a run was created. Also show the time, because the date alone is not sufficient information when many runs were started on the same day.