mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
add todays day to logs so i can debug
This commit is contained in:
parent
b45cb03356
commit
298f58fa31
1 changed files with 1 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ from datetime import datetime, timedelta
|
|||
|
||||
def previous_monday():
|
||||
today = datetime.today()
|
||||
print(f"Todays date is {today}")
|
||||
monday = today - timedelta(days=today.weekday()) # weekday() = 0 for Monday
|
||||
return f"W.C. {monday.strftime('%d.%m.%Y')}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue