From e9100c50f4597a7a1ea31bc96e1a19360361c2f6 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Sun, 18 Aug 2024 15:43:08 +0200 Subject: [PATCH] Fix niceTime --- lib/dates.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dates.ts b/lib/dates.ts index 892b62fe..2c3de3b0 100644 --- a/lib/dates.ts +++ b/lib/dates.ts @@ -3,7 +3,7 @@ export function niceDate(d: Date): string { } export function niceTime(d: Date): string { - return localDateString(d).split("T")[1]; + return localDateString(d).split("T")[1].split(".")[0]; } export function safeTime(d: Date): string {