From 535d1fa7af69bc9f7573fd08a7d8ebea9303f149 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 2 Dec 2026 16:30:05 +0100 Subject: clock: show "Domani" for tomorrow's event instead of the day name KWGT has no localized relative-day word, so the Italian label is hardcoded; events further out keep the short day name. Co-Authored-By: Claude Opus 5.5 --- clock/src/preset.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clock/src') diff --git a/clock/src/preset.json b/clock/src/preset.json index e112440..1df126e 100644 --- a/clock/src/preset.json +++ b/clock/src/preset.json @@ -198,7 +198,7 @@ { "internal_type": "TextModule", "internal_title": "Next event", - "text_expression": "$if(ci(title, 0) = \"\", \"\", if(df(D, ci(start, 0)) = df(D), if(ci(allday, 0) = 1, ci(title, 0), df(HH:mm, ci(start, 0)) + \" · \" + ci(title, 0) + \" · \" + tf(ci(start, 0))), tc(cap, df(if(ci(allday, 0) = 1, \"EEE\", \"EEE HH:mm\"), ci(start, 0))) + \" · \" + ci(title, 0)))$", + "text_expression": "$if(ci(title, 0) = \"\", \"\", if(df(D, ci(start, 0)) = df(D), if(ci(allday, 0) = 1, ci(title, 0), df(HH:mm, ci(start, 0)) + \" · \" + ci(title, 0) + \" · \" + tf(ci(start, 0))), if(df(D, ci(start, 0)) = df(D, a1d), \"Domani\" + if(ci(allday, 0) = 1, \"\", \" \" + df(HH:mm, ci(start, 0))), tc(cap, df(if(ci(allday, 0) = 1, \"EEE\", \"EEE HH:mm\"), ci(start, 0)))) + \" · \" + ci(title, 0)))$", "text_size": 42.0, "text_family": "kfile://org.kustom.provider/fonts/BarlowCondensed-Medium.ttf", "paint_color": "#FFE8DEFF", -- cgit v1.2.3