I am using Aspose.Email to load information in ics file.
My code looks like that:
Aspose.Email.Calendar.Appointment appointment = Aspose.Email.Calendar.Appointment.Load(@“D:\a\HopDotXuat.ics”);
You can take the ics file in here HopDotXuat.zip (1.1 KB)
In my ics, I have appointments which end at 5:00 AM in “TZID=N. Central Asia Standard Time.” The TZID has TZOFFSETFROM: +0700.
BUT when I load the ics, I saw that end datetime looks like that:
image.png (54.3 KB)
Like you see in the picture, the end datetime was converted to UTC time but with Offset= +6.
Do you know the reason why I got “end datetime” equal: 3/20/2023 11:00:00 PM?
I am expecting that I should get “end datetime” equal: 3/20/2023 10:00:00 PM because of TZOFFSETFROM: +0700.
Hope you can reproduce my problem and give me your feedback.