From 3e495d8291bc779c243065df68cc273eae3d18d8 Mon Sep 17 00:00:00 2001 From: stijndcl Date: Fri, 23 Sep 2022 15:07:13 +0200 Subject: [PATCH] Remove debug date --- didier/cogs/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/didier/cogs/tasks.py b/didier/cogs/tasks.py index 239f02a..14e7699 100644 --- a/didier/cogs/tasks.py +++ b/didier/cogs/tasks.py @@ -188,7 +188,7 @@ class Tasks(commands.Cog): await self.client.wait_until_ready() async def _send_les_reminders(self, entries: list[Reminder]): - today = datetime.date(year=2022, month=9, day=26) + today = tz_aware_now().date() # Create the main schedule for the day once here, to avoid doing it repeatedly daily_schedule = get_schedule_for_day(self.client, today)