From 065fbb36844a29e98358ab5da856e08438cc9678 Mon Sep 17 00:00:00 2001 From: "Fredrick W. Warren" Date: Wed, 9 Oct 2024 15:54:20 -0600 Subject: [PATCH] added mens meetings --- main.py | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index d4c959f..1e1609b 100755 --- a/main.py +++ b/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",