Abbreviated ganztägig.

This commit is contained in:
2026-07-16 17:02:29 +02:00
parent e358c2cffe
commit 166cc3efd5
+1 -1
View File
@@ -20,7 +20,7 @@ def compact_event(event, calendar_name):
start = event.get("start", "") start = event.get("start", "")
all_day = "T" not in start all_day = "T" not in start
end = event.get("end", "") end = event.get("end", "")
time = "ganztägig" if all_day else start[11:16] time = "ganzt." if all_day else start[11:16]
end_time = "" if all_day or "T" not in end else end[11:16] end_time = "" if all_day or "T" not in end else end[11:16]
location = (event.get("location") or "").split("\n")[0].strip() location = (event.get("location") or "").split("\n")[0].strip()