From 4682a28147505362441f29a7af159d8f0fcdfd23 Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 6 May 2016 17:30:21 +0200 Subject: * subtracting a day from all-day events on import was unnecessary, let the application handle that --- app/python/fetch_cals.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'app/python') 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 -- cgit v1.2.3