diff --git a/app/src/pages/inside/common/durationBlock/durationTooltip/durationTooltip.jsx b/app/src/pages/inside/common/durationBlock/durationTooltip/durationTooltip.jsx index b442a4895e..7b34f3589a 100644 --- a/app/src/pages/inside/common/durationBlock/durationTooltip/durationTooltip.jsx +++ b/app/src/pages/inside/common/durationBlock/durationTooltip/durationTooltip.jsx @@ -63,7 +63,10 @@ export const DurationTooltip = ({ status, timing, type }) => { ); const getStatusTitle = () => { - const durationTime = getDuration(timing.start, timing.end); + const durationTime = getDuration( + new Date(timing.start).getTime(), + new Date(timing.end).getTime(), + ); const endTime = dateFormat(timing.end, true); const approxTime = getApproximateTime(timing); const approxTimeIsOver = approxTime < 0; diff --git a/app/src/pages/inside/common/infoLine/parentInfo/parentInfo.jsx b/app/src/pages/inside/common/infoLine/parentInfo/parentInfo.jsx index 16c671bfb5..c7d08d21d4 100644 --- a/app/src/pages/inside/common/infoLine/parentInfo/parentInfo.jsx +++ b/app/src/pages/inside/common/infoLine/parentInfo/parentInfo.jsx @@ -30,8 +30,8 @@ export const ParentInfo = ({ parentItem }) => (