fix: format conversation date with Intl API (20. Dezember 2026)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-03-16 12:15:23 +01:00
parent 8a9e7bd9eb
commit 775e185e0f

View File

@@ -253,7 +253,7 @@
: 'text-gray-500'}"
>
<span class="flex items-center">
{doc.documentDate || '—'}
{doc.documentDate ? new Intl.DateTimeFormat('de-DE', { day: 'numeric', month: 'long', year: 'numeric' }).format(new Date(doc.documentDate + 'T12:00:00')) : '—'}
</span>
{#if doc.location}
<span class="flex items-center">