From f48976d5a88f3dd15bb1bf7776ff41b1e44f4c1f Mon Sep 17 00:00:00 2001 From: Aapo Laakkio <47868046+ApsiV11@users.noreply.github.com> Date: Sun, 12 Jan 2025 19:13:06 +0200 Subject: [PATCH] Update comment --- utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/utils.py b/utils.py index 34eea76..c6a9cf0 100644 --- a/utils.py +++ b/utils.py @@ -9,9 +9,7 @@ # To make a newsletter for a specific week (eg week 1), last possible occasion # to do it is on Monday of that specific week (week 1). On Tuesday newsletter is made for the -# following week (week 2). timedelta correction below takes into account this and a fact -# that datetime library consideres week 1 to be the year's first week that starts from Monday, -# which differs from finnish convention. Correction is different every year. +# following week (week 2). timedelta correction below takes into account this. week = (date.today()+timedelta(days=6)).strftime('%V') categories = ["Opinnot", "Killan tapahtumat", "Muut tapahtumat", "Yleistä"]