SOLVED

Time zone issue with SharePoint calendars

Frequent Contributor

I am using PnP js core to aggregate items from multiple SharePoint lists, including Tasks lists and Calendar lists.

 

I am getting all times in UTC, except for calendar all day events whose times are off by several hours. How are those all day items stored, and is there a standard way on the client side to re-align their dates with other items?

2 Replies
best response confirmed by Christophe Humbert (Frequent Contributor)
Thank you. Just removing the "Z" for all day events fixed the issue.