Merge pull request #32 from Hestia-Homes/feature/sql

merge something I shuldn't
This commit is contained in:
Jun-te Kim 2025-03-27 11:38:41 +00:00 committed by GitHub
commit 0b27a14864
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 "W.C. 10.03.2025" # Quick one off script for nic. Hopefully get 199 Do not merge!!!!
# return "W.C. 10.03.2025" # Quick one off script for nic. Hopefully get 199 Do not merge!!!!
return f"W.C. {last_monday.strftime('%d.%m.%Y')}"
WEEK_COMMENCING = os.getenv("WEEK_COMMENCING", previous_monday())