From 7748346b1fecda2810bcdf2ef8f9677c844f1af1 Mon Sep 17 00:00:00 2001 From: Sergey Krashevich Date: Sat, 14 Feb 2026 07:26:53 +0300 Subject: [PATCH] fix(index.html): respect 12-hour format --- www/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/index.html b/www/index.html index 541fb1f5..a0046d43 100644 --- a/www/index.html +++ b/www/index.html @@ -182,7 +182,9 @@ } function formatClock(timeMs) { - return new Date(timeMs).toTimeString().slice(0, 8); + return new Date(timeMs).toLocaleTimeString(undefined, { + hour: '2-digit', minute: '2-digit', second: '2-digit' + }); } function renderXAxisLabels(width) {