attempt to fix tz issue
This commit is contained in:
parent
599a3975e8
commit
b0be821fa3
1 changed files with 2 additions and 2 deletions
|
|
@ -172,8 +172,8 @@ class CalendarEvent(models.Model):
|
|||
ical_event.add('rrule', rrule_dict)
|
||||
|
||||
# Add DTSTART and DTEND
|
||||
ical_event.add('dtstart', event.start)
|
||||
ical_event.add('dtend', event.stop)
|
||||
ical_event.add('dtstart', event.start.astimezone(user_tz))
|
||||
ical_event.add('dtend', event.stop.astimezone(user_tz))
|
||||
|
||||
calendar.add_component(ical_event)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue