spsprinkles / timeline-calendar

A SharePoint Framework (SPFx) web part that provides a configurable, dynamic timeline that renders data from multiple SharePoint calendars and lists.
2 stars 1 forks source link

Timeline calendar rendering all day events incorrectly #7

Closed harrija0 closed 3 months ago

harrija0 commented 4 months ago

When an outlook calendar event is an all day event it does not have time. When the event starts at 0:00 on the 13th and should be a two day event (end of day on the 14th) the timeline ends at 0:00 on the 14th and does not render the time. I encountered this also on DEPS implementation and added an extra 23 hours and 50 minutes for all "All Day" events. This made the event render as desired on the timeline.

Screenshot:

Calendar day rendering error

System Information: Device details (should be all platforms but…) Windows 11 21H2 version 22000.2777 Browser: Edge Version 122.0.2365.80 (Official build) (64-bit)

mikevasiloff commented 4 months ago

@harrija0 I've not been able to reproduce your scenario. Yes, I'm tracking that Outlook returns "all day event" dates with 0:00 time, but in my tests the end date is actually returned as the next day to avoid this issue.

For your scenario, is this a shared mailbox/NPE calendar or an M365 Group/Team calendar? What time zone is your local computer set to? And for the person that added the event in question, do you know what time zone their profile is set to? Feel free to also contact me "externally" via Teams chat to share more info outside of this public medium.

harrija0 commented 3 months ago

Thanks for the help. It might have been a glitch but everything is displaying correctly now. Thanks for the help!