fix(backend): date is zero-padded
All checks were successful
Publish docker image / Publish (push) Successful in 2m53s
All checks were successful
Publish docker image / Publish (push) Successful in 2m53s
This commit is contained in:
parent
9336bd9ddb
commit
24718ced1b
1 changed files with 1 additions and 1 deletions
|
@ -3,4 +3,4 @@ from datetime import datetime
|
|||
|
||||
def today() -> str:
|
||||
now = datetime.now()
|
||||
return now.strftime('%A') + ' ' + str(now.day) + ' ' + now.strftime('%B')
|
||||
return f"{now.strftime('%A')} {now.day:02} {now.strftime('%B')}"
|
||||
|
|
Loading…
Reference in a new issue