Fixed issue #1332: CalendarimportSync-Errors in Outlook 2016:
As described in https://github.com/icalendar/icalendar/issues/116
This commit is contained in:
parent
74dd1b21ec
commit
c2042d0595
1 changed files with 2 additions and 2 deletions
|
@ -55,8 +55,8 @@ class CalendarSubscriptions
|
|||
events_data.each do |event_data|
|
||||
|
||||
cal.event do |e|
|
||||
e.dtstart = event_data[:dtstart]
|
||||
e.dtend = event_data[:dtend]
|
||||
e.dtstart = Icalendar::Values::DateTime.new(event_data[:dtstart], 'tzid' => 'UTC')
|
||||
e.dtend = Icalendar::Values::DateTime.new(event_data[:dtend], 'tzid' => 'UTC')
|
||||
if event_data[:alarm]
|
||||
e.alarm do |a|
|
||||
a.action = 'DISPLAY'
|
||||
|
|
Loading…
Reference in a new issue