added mens meetings
This commit is contained in:
parent
620ef6df2c
commit
065fbb3684
34
main.py
34
main.py
@ -34,7 +34,7 @@ class Event():
|
||||
event_description: str
|
||||
|
||||
|
||||
YEAR: int = 2023
|
||||
YEAR: int = 2024
|
||||
MONTHS: dict[int, list[list[int]]]
|
||||
MONTHS = dict(enumerate([calendar.monthcalendar(YEAR, month) for month in
|
||||
range(1, 13)], start=1))
|
||||
@ -234,6 +234,38 @@ def add_fridays(events: list[Event],
|
||||
"""add Friday events to calendar"""
|
||||
days = [day[4] for day in days if day[4]]
|
||||
|
||||
add_event(events,
|
||||
"For Men Only 6:30pm",
|
||||
"Men’s Meeting",
|
||||
"Mens Bible Stude",
|
||||
datetime(year, month, days[0], 18, 30, 00),
|
||||
datetime(year, month, days[0], 19, 30, 00),
|
||||
)
|
||||
|
||||
add_event(events,
|
||||
"For Men Only 6:30pm",
|
||||
"Men’s Meeting",
|
||||
"Mens Bible Stude",
|
||||
datetime(year, month, days[1], 18, 30, 00),
|
||||
datetime(year, month, days[1], 19, 30, 00),
|
||||
)
|
||||
|
||||
add_event(events,
|
||||
"For Men Only 6:30pm",
|
||||
"Men’s Meeting",
|
||||
"Mens Bible Stude",
|
||||
datetime(year, month, days[2], 18, 30, 00),
|
||||
datetime(year, month, days[2], 19, 30, 00),
|
||||
)
|
||||
|
||||
add_event(events,
|
||||
"For Men Only 6:30pm",
|
||||
"Men’s Meeting",
|
||||
"Mens Bible Stude",
|
||||
datetime(year, month, days[3], 18, 30, 00),
|
||||
datetime(year, month, days[3], 19, 30, 00),
|
||||
)
|
||||
|
||||
if len(days) == 5:
|
||||
add_event(events,
|
||||
"Family Movie Night 7:00pm",
|
||||
|
Loading…
Reference in New Issue
Block a user