summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/python/fetch_cals.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/python/fetch_cals.py b/app/python/fetch_cals.py
index 30e7abc..8b53254 100644
--- a/app/python/fetch_cals.py
+++ b/app/python/fetch_cals.py
@@ -17,8 +17,6 @@ def update_event_data(db_event, ical_event):
(db_event.end_date - db_event.begin_date).seconds % 86400 == 0
) and (
db_event.begin_date.time() == datetime.time.min)
- if db_event.all_day:
- db_event.end_date = db_event.end_date - datetime.timedelta(days=1)
db_event.last_modified = get_last_modification_time(ical_event)
return db_event