From fa5e2dc09ae1af5f1e1fdaa93aa2462b4646b2dc Mon Sep 17 00:00:00 2001 From: Dicken Date: Thu, 28 May 2026 00:50:18 +0200 Subject: [PATCH] Dateien nach "frontend/src/tools" hochladen --- frontend/src/tools/nachrichten.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/tools/nachrichten.jsx b/frontend/src/tools/nachrichten.jsx index 70b72d4..7c1dcc9 100644 --- a/frontend/src/tools/nachrichten.jsx +++ b/frontend/src/tools/nachrichten.jsx @@ -388,7 +388,7 @@ function InfoBox({ color, children }) { } function formatMsgTime(isoStr) { - const d = new Date(isoStr); + const d = new Date((isoStr || '').replace(' ', 'T')); const now = new Date(); const isToday = d.toDateString() === now.toDateString(); const isThisYear = d.getFullYear() === now.getFullYear();