MH: BeWo am Rhein Heilig Abend raus
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user