jens-maus / node-ical

NodeJS class for parsing iCalendar/ICS files
Apache License 2.0
118 stars 50 forks source link

Time mismatch with ical library #287

Closed Harisene closed 9 months ago

Harisene commented 9 months ago

Hi all,

Yesterday, I moved from the ical library to the node-ical library. I did some testing to ensure node-ical works the same way as the ical library.

But I have an issue. In the below image, you will see the same event from Google Calendar fetched via ical and node-ical libraries separately. There is a difference between start time and end time compared with ical and node-ical libraries. I don't think it should not be happening since both the time is in UTC. The Google calendar is in the Asia/Colombo timezone.

Does anybody have any clue what's going on here, please let me know. Cheers!

Screenshot 2023-11-22 at 8 58 00 AM