From 9d7659ef40aa96dec0c8a18814346506c322cf78 Mon Sep 17 00:00:00 2001 From: j Date: Sun, 23 Feb 2025 11:32:02 -0500 Subject: [PATCH] fix send_week --- app/listmonk/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/listmonk/utils.py b/app/listmonk/utils.py index 001fa5a..657c04d 100644 --- a/app/listmonk/utils.py +++ b/app/listmonk/utils.py @@ -23,7 +23,8 @@ def get_auth(headers): def send_week(monday): from . import views - monday = views.get_monday(monday) + date = datetime.strptime(date, '%Y-%m-%d') + monday = views.get_monday(date) year, month, day = monday.split('-') body = views.week(year, month, day) name = 'weekly-digest-%s' % monday