From 559eaeaa6605bb1d70e3f15bd88a61fa6f0f5d05 Mon Sep 17 00:00:00 2001 From: j Date: Sun, 26 Nov 2023 14:08:20 +0000 Subject: [PATCH] fix send_week --- app/listmonk/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/listmonk/utils.py b/app/listmonk/utils.py index 9760fe5..401debc 100644 --- a/app/listmonk/utils.py +++ b/app/listmonk/utils.py @@ -15,8 +15,8 @@ headers = { def send_week(date): from . import views - date = datetime.strptime(date, '%Y-%m-%d') year, month, day = date.split('-') + date = datetime.strptime(date, '%Y-%m-%d') monday = views.get_monday(date) body = views.week(year, month, day) name = 'weekly-digest-%s' % monday