v1.32: deutsches Datumsformat in allen Modulen (fmtDatum, ISO-Normalisierung)
This commit is contained in:
@@ -22,6 +22,7 @@ import {
|
||||
SelectValue,
|
||||
} from '@/components/ui/select'
|
||||
import { useStore } from '../store/store'
|
||||
import { fmtDatum, fmtDatumZeit } from '../lib/format'
|
||||
import type { TicketPriority, TicketStatus } from '../types'
|
||||
|
||||
const statusStyle: Record<TicketStatus, string> = {
|
||||
@@ -214,7 +215,7 @@ export default function Tickets() {
|
||||
{role === 'admin' && ` · ${t.tenant}`}
|
||||
</span>
|
||||
<span className="inline-flex items-center gap-1">
|
||||
<CalendarDays className="h-3.5 w-3.5" /> {t.createdAt}
|
||||
<CalendarDays className="h-3.5 w-3.5" /> {fmtDatum(t.createdAt)}
|
||||
</span>
|
||||
<span>Kategorie: {t.category}</span>
|
||||
</div>
|
||||
@@ -265,7 +266,7 @@ export default function Tickets() {
|
||||
<div className="mt-2 text-xs text-slate-600">
|
||||
<span className="font-semibold">{letzte.author}:</span>{' '}
|
||||
<span className="line-clamp-2">{letzte.text}</span>
|
||||
<span className="mt-0.5 block text-slate-400">{letzte.at}</span>
|
||||
<span className="mt-0.5 block text-slate-400">{fmtDatumZeit(letzte.at)}</span>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user