The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(flows): replace inline timestamp formatter with shared utility
Steven Enamakel000abbb91d43
diff --git a/app/src/components/flows/FlowRunInspectorDrawer.tsx b/app/src/components/flows/FlowRunInspectorDrawer.tsxindex 38cf6df549..6551c74542 100644--- a/app/src/components/flows/FlowRunInspectorDrawer.tsx+++ b/app/src/components/flows/FlowRunInspectorDrawer.tsx@@ -55,19 +55,6 @@ export interface FlowRepairRequest {const log = debug('flows:run-inspector-drawer');-function formatTimestamp(value: string | null | undefined): string | null {- if (!value) return null;- const parsed = Date.parse(value);- if (!Number.isFinite(parsed)) return null;- return new Intl.DateTimeFormat(undefined, {- month: 'short',- day: 'numeric',- hour: 'numeric',- minute: '2-digit',- second: '2-digit',- }).format(new Date(parsed));-}-/*** Live per-node status dot colour, keyed off the socket `flow:run_progress`* feed (Phase 3e). Mirrors the run-level status-dot language:@@ -255,8 +242,8 @@ export function FlowRunInspectorDrawer({ runId, onClose, onFixWithAgent }: Propsif (!runId) return null;- const startedAt = formatTimestamp(run?.started_at);- const finishedAt = formatTimestamp(run?.finished_at);+ const startedAt = formatRunTimestamp(run?.started_at, { withSeconds: true });+ const finishedAt = formatRunTimestamp(run?.finished_at, { withSeconds: true });return (<div className="fixed inset-0 z-50 flex justify-end" data-testid="flow-run-inspector-drawer">