diff --git a/app/src/pages/inside/historyPage/historyView/historyTable/itemNameBlock/itemInfoToolTip/itemInfoToolTip.jsx b/app/src/pages/inside/historyPage/historyView/historyTable/itemNameBlock/itemInfoToolTip/itemInfoToolTip.jsx index 1537c13e43..0c1066e3a2 100644 --- a/app/src/pages/inside/historyPage/historyView/historyTable/itemNameBlock/itemInfoToolTip/itemInfoToolTip.jsx +++ b/app/src/pages/inside/historyPage/historyView/historyTable/itemNameBlock/itemInfoToolTip/itemInfoToolTip.jsx @@ -27,7 +27,10 @@ import styles from './itemInfoToolTip.scss'; const cx = classNames.bind(styles); export const ItemInfoToolTip = ({ data }) => { - const { value: startTime, unit } = getRelativeUnits(data.startTime); + const start = new Date(data.startTime).getTime(); + const end = new Date(data.endTime).getTime(); + const { value: startTime, unit } = getRelativeUnits(start); + return (