Calendar API time bug

Occasional Visitor

I'm using this fragment of code:


var events = await graphClient.Users[""].CalendarView
.Header("Prefer", "outlook.timezone=\"Central European Standard Time\"")

var pageIterator = PageIterator<Event>
.CreatePageIterator(graphClient, events, (m) => {
Console.WriteLine("{0} {1} {2} {3}",m.Id, m.Start.DateTime, m.End.DateTime, m.Subject); // 152
return true;

await pageIterator.IterateAsync();


All non cyclical events have corect time and date.

All cyclical events have invalid time (-2 hours)

Yesterday (21/06/2021) it was working correctly

0 Replies