v1.32: deutsches Datumsformat in allen Modulen (fmtDatum, ISO-Normalisierung)
This commit is contained in:
@@ -23,6 +23,7 @@ import {
|
||||
} from 'lucide-react'
|
||||
import { Link } from 'react-router'
|
||||
import { useStore, fmtEUR } from '../store/store'
|
||||
import { fmtDatum } from '../lib/format'
|
||||
|
||||
const monthShort = ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez']
|
||||
|
||||
@@ -146,7 +147,7 @@ function TenantDashboard() {
|
||||
<span className="text-xs font-semibold uppercase tracking-wide text-teal-700">
|
||||
{a.tag}
|
||||
</span>
|
||||
<span className="text-xs text-slate-400">{a.date}</span>
|
||||
<span className="text-xs text-slate-400">{fmtDatum(a.date)}</span>
|
||||
</div>
|
||||
<div className="mt-1 text-sm font-medium">{a.title}</div>
|
||||
<div className="mt-0.5 line-clamp-2 text-xs text-slate-500">{a.text}</div>
|
||||
@@ -174,7 +175,7 @@ function TenantDashboard() {
|
||||
<li key={t.id} className="flex items-center justify-between rounded-xl bg-slate-50 px-4 py-3">
|
||||
<div>
|
||||
<div className="text-sm font-medium">{t.title}</div>
|
||||
<div className="text-xs text-slate-400">{t.category} · {t.createdAt}</div>
|
||||
<div className="text-xs text-slate-400">{t.category} · {fmtDatum(t.createdAt)}</div>
|
||||
</div>
|
||||
<span className={`rounded-full px-2.5 py-1 text-xs font-semibold ${
|
||||
t.status === 'offen' ? 'bg-amber-100 text-amber-800' : 'bg-blue-100 text-blue-800'
|
||||
|
||||
Reference in New Issue
Block a user