From 6b74808a9f66e4146d537c6d25a20656da007577 Mon Sep 17 00:00:00 2001 From: Ace Date: Tue, 4 Feb 2020 16:43:41 +0100 Subject: [PATCH] All-day events fix All-day events will be marked as such (no starting time will be shown). --- modules/inkycal_icalendar.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/inkycal_icalendar.py b/modules/inkycal_icalendar.py index c61b248..421c174 100644 --- a/modules/inkycal_icalendar.py +++ b/modules/inkycal_icalendar.py @@ -74,6 +74,7 @@ def fetch_events(): for events in upcoming_events: if events.all_day and events.duration.days > 1: events.end = events.end.replace(days=-2) + events.make_all_day() if not events.all_day: events.end = events.end.to(timezone)