From 6c22a62e2dde4a4126c2f712fd2b79d87421b9b3 Mon Sep 17 00:00:00 2001 From: MarconLP <13001502+MarconLP@users.noreply.github.com> Date: Mon, 1 May 2023 22:42:08 +0200 Subject: [PATCH] fix/extra curly bracket in relative date timestamp --- src/utils/getTime.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/getTime.ts b/src/utils/getTime.ts index 9644024..0da7aa5 100644 --- a/src/utils/getTime.ts +++ b/src/utils/getTime.ts @@ -43,7 +43,7 @@ export const getTime = (timestamp: Date): string => { timeString = `${ months[date.getMonth()] || "" - }} ${date.getDate()} ${date.getFullYear()} ` + + } ${date.getDate()} ${date.getFullYear()} ` + `at ${ date.getHours().toString().length === 1 ? "0" + date.getHours().toString()