mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-25 09:35:39 -05:00
Add holiday flag to data
This commit is contained in:
@@ -21,7 +21,7 @@ public class HolidayController(IConfiguration configuration, HttpClient httpClie
|
||||
|
||||
var calendarEntries = calendar
|
||||
.GetOccurrences(start, end)
|
||||
.Select(o => new CalendarEntry(o))
|
||||
.Select(o => new CalendarEntry(o, true))
|
||||
.OrderBy(ce => ce.Start);
|
||||
|
||||
var nextCalendarEntry = calendarEntries.First();
|
||||
|
||||
Reference in New Issue
Block a user