Added missing conversion of end_datetime
This commit is contained in:
parent
6a37255b57
commit
3e11ec4df0
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ class IcalEvents(CalendarInterface):
|
||||||
cal_event.rrule = self.__extract_rrule__(event)
|
cal_event.rrule = self.__extract_rrule__(event)
|
||||||
|
|
||||||
cal_event.begin_datetime = cal_event.begin_datetime.astimezone(None)
|
cal_event.begin_datetime = cal_event.begin_datetime.astimezone(None)
|
||||||
|
cal_event.end_datetime = cal_event.end_datetime.astimezone(None)
|
||||||
|
|
||||||
if cal_event.allday:
|
if cal_event.allday:
|
||||||
cal_event.end_datetime = cal_event.end_datetime - timedelta(1)
|
cal_event.end_datetime = cal_event.end_datetime - timedelta(1)
|
||||||
|
|
Loading…
Reference in a new issue