From d6d913c20364d0c87831194550b014f96ea0c746 Mon Sep 17 00:00:00 2001 From: Daniel <92018069+DanyaIzm@users.noreply.github.com> Date: Fri, 20 Dec 2024 22:06:11 +0300 Subject: [PATCH] fix: change title card total day count to consider both dates inclusively --- src/components/TitleCard.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TitleCard.jsx b/src/components/TitleCard.jsx index 7173b71..c53ad1a 100644 --- a/src/components/TitleCard.jsx +++ b/src/components/TitleCard.jsx @@ -115,7 +115,7 @@ const TitleCard = ({ title, activity }) => { Spent:{" "} {translateMsToDays( new Date(title.endDate) - new Date(title.startDate) - )}{" "} + ) + 1}{" "} days )}