From 21eaffe677cf797995300869cce8691f3eff404c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20Mare=C5=A1?= Date: Mon, 9 Mar 2026 22:17:57 +0100 Subject: [PATCH] X-mas: Blanking by daylight --- xmas-lights/daemon/xmas-lights.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmas-lights/daemon/xmas-lights.c b/xmas-lights/daemon/xmas-lights.c index 7111d0a..aba98b7 100644 --- a/xmas-lights/daemon/xmas-lights.c +++ b/xmas-lights/daemon/xmas-lights.c @@ -319,7 +319,7 @@ static void clock_tick(void) clock_year(2026); #else struct tm *tm = localtime(&t); - if (tm->tm_hour >= 9 && tm->tm_hour < 16) + if (tm->tm_hour >= 2 && tm->tm_hour < 17) clock_blank(); else clock_time(tm->tm_hour, tm->tm_min); -- 2.47.3