fix(ui): Uhrzeit in Datumsspalte der Suchergebnisse anzeigen
toLocaleDateString → toLocaleString mit dateStyle+timeStyle, zeigt jetzt z.B. "11.05.2026, 00:05" statt nur "11.05.2026". Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -647,7 +647,7 @@ export default function SearchPage() {
|
|||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell className="whitespace-nowrap text-sm text-muted-foreground">
|
<TableCell className="whitespace-nowrap text-sm text-muted-foreground">
|
||||||
{hit.date
|
{hit.date
|
||||||
? new Date(hit.date).toLocaleDateString("de-DE")
|
? new Date(hit.date).toLocaleString("de-DE", { dateStyle: "short", timeStyle: "short" })
|
||||||
: "-"}
|
: "-"}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell className="max-w-[14rem] truncate text-sm">{hit.from || "-"}</TableCell>
|
<TableCell className="max-w-[14rem] truncate text-sm">{hit.from || "-"}</TableCell>
|
||||||
|
|||||||
Reference in New Issue
Block a user