From c4806474df25a82c8cdaa412b3a5d83f3acdab11 Mon Sep 17 00:00:00 2001 From: Marcel Date: Mon, 16 Mar 2026 15:48:06 +0100 Subject: [PATCH] fix: format person document list dates with Intl API (20. Dezember 2026) Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/routes/persons/[id]/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/routes/persons/[id]/+page.svelte b/frontend/src/routes/persons/[id]/+page.svelte index 20c28d9f..16c5978b 100644 --- a/frontend/src/routes/persons/[id]/+page.svelte +++ b/frontend/src/routes/persons/[id]/+page.svelte @@ -220,7 +220,7 @@ {doc.title || doc.originalFilename}
- {doc.documentDate || 'Kein Datum'} + {doc.documentDate ? new Intl.DateTimeFormat('de-DE', { day: 'numeric', month: 'long', year: 'numeric' }).format(new Date(doc.documentDate + 'T12:00:00')) : 'Kein Datum'} {#if doc.location} {doc.location}