Fixed timezone-issue
This commit is contained in:
parent
1c56323ff0
commit
225963aaeb
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@ class IcalEvents(CalendarInterface):
|
|||
cal_event = CalendarEvent()
|
||||
|
||||
cal_event.fetch_datetime = datetime.now()
|
||||
cal_event.begin_datetime = event.begin.datetime
|
||||
cal_event.end_datetime = event.end.datetime
|
||||
cal_event.begin_datetime = event.begin.datetime.astimezone(None)
|
||||
cal_event.end_datetime = event.end.datetime.astimezone(None)
|
||||
cal_event.duration = event.duration
|
||||
cal_event.title = event.name
|
||||
cal_event.description = event.description
|
||||
|
|
Loading…
Reference in a new issue