fix: correct UTC timestamp display in scan history, pending devices, and detail panel

This commit is contained in:
Pouzor
2026-04-05 02:50:23 +02:00
parent 9cb9d02459
commit d96b502524
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -482,7 +482,7 @@ function ScanHistoryPanel() {
)}
</div>
<div className="text-muted-foreground text-[10px] mt-0.5">
{new Date(r.started_at).toLocaleString()}
{new Date(r.started_at.endsWith('Z') ? r.started_at : r.started_at + 'Z').toLocaleString()}
</div>
{r.ranges.length > 0 && (
<div className="text-[#8b949e] text-[10px] font-mono truncate">{r.ranges.join(', ')}</div>