Replaced DateTimeOffset usage in the calendar.

This commit is contained in:
Burak Kaan Köse
2025-05-20 21:08:19 +02:00
parent c4e561dee6
commit aba7539e7d
9 changed files with 47 additions and 67 deletions

View File

@@ -160,7 +160,7 @@ public class CalendarService : BaseDatabaseService, ICalendarService
// There is no exception for the period.
// Change the instance StartDate and Duration.
var recurrence = ev.CreateRecurrence(occurrence.Period.StartTime.Value, occurrence.Period.Duration.TotalSeconds);
var recurrence = ev.CreateRecurrence(occurrence.Period.StartTime.Value, occurrence.Period.EndTime.Value);
result.Add(recurrence);
}