Fixed false interpreted allday and multiday events
This commit is contained in:
parent
d838ee37d0
commit
4b1cbed0f7
1 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,9 @@ class IcalEvents(CalendarInterface):
|
||||||
cal_event.location = event.location
|
cal_event.location = event.location
|
||||||
cal_event.allday = event.all_day
|
cal_event.allday = event.all_day
|
||||||
|
|
||||||
|
if cal_event.allday:
|
||||||
|
cal_event.end_datetime = cal_event.end_datetime - timedelta(2)
|
||||||
|
|
||||||
loaded_events.append(cal_event)
|
loaded_events.append(cal_event)
|
||||||
return loaded_events
|
return loaded_events
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in a new issue