From e7975db4a3fd4a405b66e18230f4a7fb0718858a Mon Sep 17 00:00:00 2001 From: jtricerolph Date: Thu, 2 Jul 2026 15:43:40 +0000 Subject: [PATCH] Show hours to 2 decimal places (0.75h instead of 0.8h) Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/pages/Planner.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/Planner.tsx b/frontend/src/pages/Planner.tsx index 478029e..3d4d469 100644 --- a/frontend/src/pages/Planner.tsx +++ b/frontend/src/pages/Planner.tsx @@ -59,7 +59,7 @@ function fmtDate(date: string) { }) } -function fmtH(n: number) { return n.toFixed(1) + 'h' } +function fmtH(n: number) { return n.toFixed(2) + 'h' } // ── Pickup calculation ────────────────────────────────────────────────────────