From baafbcf760f85ec75dc2c3ea7e9d78f7d2feb22d Mon Sep 17 00:00:00 2001 From: Richard Zink Date: Wed, 7 Oct 2026 13:29:43 +0200 Subject: [PATCH] Force debug update on language change to refresh digital clock --- index.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.html b/index.html index 23828ef..1daa70d 100644 --- a/index.html +++ b/index.html @@ -1407,6 +1407,13 @@ window.weatherThemes = { applyI18n(); // Trigger weather refresh to update day labels if (typeof fetchWeather === 'function') fetchWeather(); + // Force a debug update so the digital clock shows the new language + if (typeof updateDebug === 'function') { + var now = new Date(); + updateDebug(0, null, + { sky: 0, cloud: 0, light: 0, bg: 0 }, + currentWeatherThemeName, realDayProgress); + } } function populateDebugSelects() {