From 47e3ae16d019fbb27cd3e19a19da8c8e667be9f1 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Mon, 7 Apr 2025 14:24:09 +0000 Subject: [PATCH] don't put w.c. on main --- etl/scraper/scraper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etl/scraper/scraper.py b/etl/scraper/scraper.py index 30917ff..02a2edb 100644 --- a/etl/scraper/scraper.py +++ b/etl/scraper/scraper.py @@ -14,7 +14,7 @@ from datetime import datetime, timedelta def previous_monday(): today = datetime.today() last_monday = today - timedelta(days=today.weekday() + 7) # Go back to last week's Monday - return f"W.C. 17.03.2025" + # return f"W.C. 17.03.2025" return f"W.C. {last_monday.strftime('%d.%m.%Y')}" WEEK_COMMENCING = os.getenv("WEEK_COMMENCING", previous_monday())