SOLVED

Time zone issue with SharePoint calendars

Iron 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 (Iron Contributor)
Thank you. Just removing the "Z" for all day events fixed the issue.
1 best response

Accepted Solutions
best response confirmed by Christophe Humbert (Iron Contributor)