Merge pull request #104 from christianlouis/copilot/update-processing-log-entries

Fix processing log entries: stale runs, error handler crash, and duration display bug
This commit is contained in:
Christian Krakau-Louis
2026-03-28 12:30:39 +01:00
committed by GitHub
3 changed files with 61 additions and 4 deletions
+2 -1
View File
@@ -27,7 +27,8 @@ const STATUS_STYLES: Record<string, string> = {
function formatDuration(seconds?: number | null): string {
if (seconds == null) return '—';
if (seconds < 60) return `${seconds.toFixed(1)}s`;
return `${Math.floor(seconds / 60)}m ${Math.round(seconds % 60)}s`;
const totalSecs = Math.floor(seconds);
return `${Math.floor(totalSecs / 60)}m ${totalSecs % 60}s`;
}
function formatDate(iso: string): string {