diff --git a/src/lib/strings/time.ts b/src/lib/strings/time.ts index 73f84acff1..918621df38 100644 --- a/src/lib/strings/time.ts +++ b/src/lib/strings/time.ts @@ -46,7 +46,14 @@ export function ago(date: number | string | Date, long = false): string { } if (months < 12) { - return `${months}${long ? ' months' : 'mo'}` + return `${months} ${ + long + ? plural(months, { + one: 'month', + other: 'months', + }) + : 'mo' + }` } else { const str = new Date(ts).toLocaleDateString()