When using Calendar trigger, we use UTC time.
However, the sample project queries it and compares against local time, and C# DateTime sadly ignores the kind, so comparisons are wrong. Turns out some people actually use code from this sample in their project running into issues.
Change querying to always return local time here (related PR in the package to address the possibility of same issue when using directly).
When using Calendar trigger, we use UTC time. However, the sample project queries it and compares against local time, and C# DateTime sadly ignores the kind, so comparisons are wrong. Turns out some people actually use code from this sample in their project running into issues. Change querying to always return local time here (related PR in the package to address the possibility of same issue when using directly).