MH: BeWo am Rhein Heilig Abend raus

This commit is contained in:
2025-01-08 12:54:00 +01:00
parent 90d2dfc460
commit 73ebe969e6

View File

@@ -26,6 +26,13 @@ namespace BetreutesWohnenAmRheinReports.Service
var osterSonntag = GetOsterSonntag(year);
list.Add(new FeiertagDC() {Datum = osterSonntag.AddDays(-48), Name = "Rosenmontag" }); // "Rosenmontag"
if (year >= 2024)
{
var heiligabend = list.FirstOrDefault(l => l.Name == "Heilig Abend");
if (heiligabend != null)
list.Remove(heiligabend);
}
return list;
}
}