From 4bc6712e60a6d6f52b240691da27e05e620eb391 Mon Sep 17 00:00:00 2001 From: Yinyin Liu Date: Sat, 28 Mar 2026 09:47:05 +0100 Subject: [PATCH] add 23:00-24:00 in daily report tab --- .../dashboards/SodiohomeInstallations/DailySection.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/typescript/frontend-marios2/src/content/dashboards/SodiohomeInstallations/DailySection.tsx b/typescript/frontend-marios2/src/content/dashboards/SodiohomeInstallations/DailySection.tsx index c1206734e..6fd5d28d5 100644 --- a/typescript/frontend-marios2/src/content/dashboards/SodiohomeInstallations/DailySection.tsx +++ b/typescript/frontend-marios2/src/content/dashboards/SodiohomeInstallations/DailySection.tsx @@ -353,9 +353,10 @@ function DayStrip({ // ── IntradayChart ──────────────────────────────────────────── -const HOUR_LABELS = Array.from({ length: 24 }, (_, i) => - `${String(i).padStart(2, '0')}:00` -); +const HOUR_LABELS = [ + ...Array.from({ length: 24 }, (_, i) => `${String(i).padStart(2, '0')}:00`), + '24:00' +]; function IntradayChart({ hourlyData,