From 43cc0c3bc1f8875cebda4e91de344ed5672d7160 Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Fri, 14 Jun 2024 14:48:22 -0700 Subject: [PATCH] remove @ in format date --- frontend/src/lib/formatting.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/formatting.ts b/frontend/src/lib/formatting.ts index 66e769df1..48f5f2d6c 100644 --- a/frontend/src/lib/formatting.ts +++ b/frontend/src/lib/formatting.ts @@ -3,7 +3,7 @@ import { Types } from "@monitor/client"; export const fmt_date = (d: Date) => { const hours = d.getHours(); const minutes = d.getMinutes(); - return `${fmt_month(d.getMonth())} ${d.getDate()} @ ${ + return `${fmt_month(d.getMonth())} ${d.getDate()} ${ hours > 9 ? hours : "0" + hours }:${minutes > 9 ? minutes : "0" + minutes}`; };