Aspose.Email.Calendar.Appointment.Load() function returns wrong End datetime

Hello supporters.
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.
Yours.
Nghia

1 Like

Hello @nguyen.xuan.nghia,
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): EMAILNET-40999

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

1 Like