GetOccurrences and Occurence.Period.End , property Period.End null in v5
#860
|
In v4 we had this code: var occurrence = cal
.GetOccurrences<CalendarEvent>(date, date)
.Single();I migrated to: var occurrence = cal
.GetOccurrences<CalendarEvent>(dt)
.TakeWhile(p => p.Period.StartTime <= dt)
.Single();The sources for both is the same ical file. The property I'm not sure if this is a bug or not. Did migrate the code correctly? |
Answered by
axunonb
Sep 12, 2025
Replies: 2 comments
|
Please see the Release Notes v5.0: |
0 replies
Answer selected by
ramonsmits
|
@axunonb thanks, that resolves my issue. I did read the release notes but. It would help if the breaking changes would include specifically listing that |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please see the Release Notes v5.0:
Breaking:
Occurrence.Periodis determined byStartTimeandDurationonly in #808To get the end date/time, use
Period.EffectiveEndTime.