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
chore(flows): replace inline timestamp formatter with shared utility
Steven Enamakel1f3339e2b4df
diff --git a/app/src/components/flows/FlowRunsDrawer.tsx b/app/src/components/flows/FlowRunsDrawer.tsxindex 9598061ddd..4764f7e49b 100644--- a/app/src/components/flows/FlowRunsDrawer.tsx+++ b/app/src/components/flows/FlowRunsDrawer.tsx@@ -44,18 +44,6 @@ import { FlowRunStatus, flowRunStatusLabel } from './FlowRunStatus';const log = debug('flows:runs-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',- }).format(new Date(parsed));-}-interface Props {/** Flow to list runs for. Renders `null` (nothing) when absent. */flowId: string | null;@@ -174,7 +162,7 @@ function FlowRunsDrawer({ flowId, flowName, onClose, onFixWithAgent }: Props) {{!loading && !error && runs.length > 0 && (<ul className="space-y-2" data-testid="flow-runs-list">{runs.map(run => {- const startedAt = formatTimestamp(run.started_at);+ const startedAt = formatRunTimestamp(run.started_at);const displayStatus = resolveDisplayStatus(run, pendingRunIds);return (<li key={run.id}>