mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-30 13:10:56 +00:00
Merge pull request #32 from Hestia-Homes/feature/sql
merge something I shuldn't
This commit is contained in:
commit
0b27a14864
1 changed files with 1 additions and 1 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue