Skip to content

Commit

Permalink
fix: change title card total day count to consider both dates inclusi…
Browse files Browse the repository at this point in the history
…vely
  • Loading branch information
DanyaIzm authored Dec 20, 2024
1 parent cdba346 commit d6d913c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TitleCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const TitleCard = ({ title, activity }) => {
Spent:{" "}
{translateMsToDays(
new Date(title.endDate) - new Date(title.startDate)
)}{" "}
) + 1}{" "}
days
</Typography>
)}
Expand Down

0 comments on commit d6d913c

Please sign in to comment.