diff --git a/src/components/LatestVersion/index.tsx b/src/components/LatestVersion/index.tsx index 74d5f0d0..98e59879 100644 --- a/src/components/LatestVersion/index.tsx +++ b/src/components/LatestVersion/index.tsx @@ -23,7 +23,7 @@ const ReleaseRemark = ({ const daysSinceRelease = moment(latestReleaseDate).diff(moment(), "days") * -1; const releaseString = - daysSinceRelease !== 0 + daysSinceRelease === 0 ? "today" : `${moment.duration(daysSinceRelease, "days").humanize()} ago`; return (