We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a3994f commit 2d0331fCopy full SHA for 2d0331f
todoqueue_frontend/src/utils/index.js
@@ -51,10 +51,10 @@ export const getTimeSince = (timestamp) => {
51
output += years === 1 ? "1 year" : `${years} years`;
52
}
53
if (months !== 0) {
54
- output += months === 1 ? "1 month" : `${months} months`;
+ output += months === 1 ? " 1 month" : ` ${months} months`;
55
56
if (days !== 0) {
57
- output += days === "1" ? "1 day" : `${days} days`;
+ output += days === "1" ? " 1 day" : ` ${days} days`;
58
59
if (hours !== 0) {
60
output += hours === 1 ? " 1 hour" : ` ${hours} hours`;
0 commit comments