v1.32: deutsches Datumsformat in allen Modulen (fmtDatum, ISO-Normalisierung)

This commit is contained in:
2026-10-04 18:51:00 +02:00
parent 18a35dbac9
commit 7616af73cf
11 changed files with 55 additions and 16 deletions
+2 -1
View File
@@ -11,6 +11,7 @@ import { Button } from '@/components/ui/button'
import { Input } from '@/components/ui/input'
import { Label } from '@/components/ui/label'
import { useStore } from '../store/store'
import { fmtDatum } from '../lib/format'
import type { DocumentItem } from '../types'
/** PDF-Lightbox (v1.31): Inline-Vorschau erzeugter/gespeicherter PDFs mit
@@ -68,7 +69,7 @@ export default function PdfLightbox({ dokument, trigger }: {
<div className="min-w-0">
<DialogTitle className="truncate text-base">{dokument.title}</DialogTitle>
<p className="truncate text-xs text-slate-500 dark:text-slate-400">
{dokument.category} · {dokument.date}
{dokument.category} · {fmtDatum(dokument.date)}
{dokument.fileName && ` · ${dokument.fileName}`}
</p>
</div>