Import ics to Office 365 Calendar but the event time is wrong.

Copper Contributor

Hi,

 

I'm writing a program to generate ics file, and I use Office 365 Calendar and Google Calendar to verify my ics file is correct or not.

However, the Office 365 Calendar and Google Calendar shows the different result after I import the same ics file.

 

After reading some iCalendar documents, I think Office 365 Calendar may has some bugs of parse VTIMEZONE part of an .ics file.

I hope the Microsoft engineers can check this issue.

 

I import the same ics file to Office 365 Calendar and Google Calendar separately, and the Google shows a correct event in "Wed 5/23/2018 7:00a - 8:00a @CST" (aka "2018-05-22T23:00:00Z ~ 2018-05-23T00:00:00Z in UTC").

However, the Microsoft shows "Wed 5/23/2018 6:00a - 7:00a @CST" (aka "2018-05-22T22:00:00Z ~ 2018-05-22T23:00:00Z in UTC).

 

Here is my test ics file.

 

BEGIN:VCALENDAR
PRODID:Microsoft Exchange Server
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:Asia/Shanghai
X-LIC-LOCATION:Asia/Shanghai
BEGIN:STANDARD
TZNAME:CST
DTSTART:19411001T000000
TZOFFSETFROM:+0900
TZOFFSETTO:+0800
END:STANDARD
BEGIN:DAYLIGHT
TZNAME:CDT
DTSTART:19860504T000000
TZOFFSETFROM:+0800
TZOFFSETTO:+0900
END:DAYLIGHT
BEGIN:STANDARD
TZNAME:CST
DTSTART:19860914T000000
TZOFFSETFROM:+0900
TZOFFSETTO:+0800
END:STANDARD
BEGIN:DAYLIGHT
TZNAME:CDT
DTSTART:19870412T000000
TZOFFSETFROM:+0800
TZOFFSETTO:+0900
END:DAYLIGHT
BEGIN:STANDARD
TZNAME:CST
DTSTART:19870913T000000
TZOFFSETFROM:+0900
TZOFFSETTO:+0800
END:STANDARD
BEGIN:DAYLIGHT
TZNAME:CDT
DTSTART:19880410T000000
TZOFFSETFROM:+0800
TZOFFSETFROM:+0800
TZOFFSETTO:+0900
END:DAYLIGHT
BEGIN:STANDARD
TZNAME:CST
DTSTART:19880911T000000
TZOFFSETFROM:+0900
TZOFFSETTO:+0800
END:STANDARD
BEGIN:DAYLIGHT
TZNAME:CDT
DTSTART:19890416T000000
TZOFFSETFROM:+0800
TZOFFSETTO:+0900
END:DAYLIGHT
BEGIN:STANDARD
TZNAME:CST
DTSTART:19890917T000000
TZOFFSETFROM:+0900
TZOFFSETTO:+0800
END:STANDARD
BEGIN:DAYLIGHT
TZNAME:CDT
DTSTART:19900415T000000
TZOFFSETFROM:+0800
TZOFFSETTO:+0900
END:DAYLIGHT
BEGIN:STANDARD
TZNAME:CST
DTSTART:19900916T000000
TZOFFSETFROM:+0900
TZOFFSETTO:+0800
END:STANDARD
BEGIN:DAYLIGHT
TZNAME:CDT
DTSTART:19910414T000000
TZOFFSETFROM:+0800
TZOFFSETTO:+0900
END:DAYLIGHT
BEGIN:STANDARD
TZNAME:CST
DTSTART:19910915T000000
TZOFFSETFROM:+0900
TZOFFSETTO:+0800
END:STANDARD
END:VTIMEZONE
BEGIN:VTIMEZONE
TZID:Etc/UTC
X-LIC-LOCATION:Etc/UTC
BEGIN:STANDARD
TZNAME:UTC
DTSTART:19700101T000000
TZOFFSETFROM:+0000
TZOFFSETTO:+0000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
UID: 040000008200E00074C5B7101A82E00800000000E4B56E3BC4F1D301000000000000000010
 0000002DF16AE26FBA1A4095471635E4CD32CD
SEQUENCE:0
SUMMARY:7~8 event
DESCRIPTION:
LOCATION:
STATUS:CONFIRMED
TRANSP:OPAQUE
CLASS:PUBLIC
ORGANIZER;CN=joewu@domain.com:
 joewu@domain.com:
DTSTART;TZID=Asia/Shanghai:20180523T070000
DTEND;TZID=Asia/Shanghai:20180523T080000
CREATED:20180522T115912Z
LAST-MODIFIED:20180522T115912Z
END:VEVENT
END:VCALENDAR

 

Ref. https://answers.microsoft.com/en-us/msoffice/forum/msoffice_outlook-msoffice_custom-mso_365hp/import...

1 Reply

Is there any Microsoft technical support or engineer can check this issue?