save for merge

This commit is contained in:
Jun-te Kim 2025-04-14 09:22:56 +01:00
parent 2fac7d6112
commit af6cafe34c

View file

@ -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. 31.03.2025"
# return f"W.C. 31.03.2025"
return f"W.C. {last_monday.strftime('%d.%m.%Y')}"
WEEK_COMMENCING = os.getenv("WEEK_COMMENCING", previous_monday())