Closed dico closed 4 years ago
For me also time zones are not working (calendar exported from google). Tried with firrefent versions of time zone declarations and also commenting out the 'defaultTimeZone' of the example but nothing seems to affect the result; the example code always gives events in GMT time.
Snapshot of the ics: https://uvkk.kirah.fi/rislointra/basic.ics
Google calendar and my android phone and mac where the same calendar is synced to give the right time for event (GMT+2 / Europe/Riga).
I can confirm this issue as well for Google. It must have started recently only, because I just found out about it.
E.g. Google calendar event start is 17:00, end 18:00, I get incorrectly 16:00 to 17:00 instead.
I have fixed this issue by using dtstart_tz
instead of dtend_array[3]
(and same for the end).
@dico, @whcrg: does the solution suggested by @nekromoff fix your issue?
Closing due to a lack of response
7.2.24
Europe/Oslo
2.1.15
Description of the Issue:
Wrong timeformat when using both default ICS sharing from Google calendar and Office 365 Outlook.
Steps to Reproduce:
Output from Google Calendar: Correct time should be 20:00 to 21:00
Output from Office 365 Outlook: Correct time should be 09:30 to 15:00
For the Google calendar, the
dtstart_tz
is correct, but for the Office 365 Outlook it'sdtstart_tz
.In the .ics file, there are two
VTIMEZONE
for each file. Not sure why. Both clients are set correct in their settings (GUI), with only one option.Google ICS
Office 365 Outlook ICS:
Suggested solution, use the first VTIMEZONE, as this looks to be primary timezone?