Skip to content

Commit 2d0331f

Browse files
committed
Minor formatting change
1 parent 8a3994f commit 2d0331f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

todoqueue_frontend/src/utils/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ export const getTimeSince = (timestamp) => {
5151
output += years === 1 ? "1 year" : `${years} years`;
5252
}
5353
if (months !== 0) {
54-
output += months === 1 ? "1 month" : `${months} months`;
54+
output += months === 1 ? " 1 month" : ` ${months} months`;
5555
}
5656
if (days !== 0) {
57-
output += days === "1" ? "1 day" : `${days} days`;
57+
output += days === "1" ? " 1 day" : ` ${days} days`;
5858
}
5959
if (hours !== 0) {
6060
output += hours === 1 ? " 1 hour" : ` ${hours} hours`;

0 commit comments

Comments
 (0)