From 05a4eb7c71cb508a3bd3bf0fc5f40f6664cb0f3a Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sun, 29 May 2022 14:28:11 +0200 Subject: [PATCH] frontend: small fixes --- frontend/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/utils.ts b/frontend/src/utils.ts index 6c056208a3..bfaf76b06e 100644 --- a/frontend/src/utils.ts +++ b/frontend/src/utils.ts @@ -31,7 +31,7 @@ export function displayDaysAgo(dateString: string): string { } else if (isToday(date)) { return `today at ${date.toLocaleTimeString()}` } else { - return `${daysAgo(date) + 1} day ago` + return `${daysAgo(date) + 1} days ago` } }