We don't generally skip Lincoln's birthday for meetings

Closes: #105
This commit is contained in:
Jeff Epler 2023-12-13 14:43:04 -06:00
parent 1a626407f8
commit 7b9fb6a1e1
No known key found for this signature in database
GPG key ID: D5BF15AB975AB4DE
2 changed files with 6 additions and 12 deletions

View file

@ -32,10 +32,10 @@ class CircuitPythonHoliday(UnitedStates):
def _populate(self, year):
super()._populate(year)
try:
del self[date(year, OCT, 1) + rd(weekday=MO(+2))]
except KeyError:
pass
for k, v in list(self.items()):
if 'Lincoln' in v or 'Columbus' in v:
del self[k]
self[date(year, OCT, 1) + rd(weekday=MO(+2))] = "Indigenous Peoples' Day"
hols = CircuitPythonHoliday(state='NY')

View file

@ -399,16 +399,10 @@ DTEND;TZID=US/Eastern:20240205T150000
DTSTAMP;TZID=US/Eastern:20231213T095107
END:VEVENT
BEGIN:VEVENT
SUMMARY:Lincoln's Birthday -- Meeting Postponed due to holiday
SUMMARY:CircuitPython Discord Meeting
DTSTART;TZID=US/Eastern:20240212T140000
DTEND;TZID=US/Eastern:20240212T150000
DTSTAMP:20231213T145107Z
END:VEVENT
BEGIN:VEVENT
SUMMARY:CircuitPython Discord Meeting
DTSTART;TZID=US/Eastern:20240213T140000
DTEND;TZID=US/Eastern:20240213T150000
DTSTAMP;TZID=US/Eastern:20231213T095107
DTSTAMP;TZID=US/Eastern:20231213T144037
END:VEVENT
BEGIN:VEVENT
SUMMARY:Washington's Birthday -- Meeting Postponed due to holiday