From 24718ced1bcf80346ebd243602a56adda2ffad5d Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Fri, 1 Mar 2024 10:18:55 +0000 Subject: [PATCH] fix(backend): date is zero-padded --- backend/aci/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/aci/utils.py b/backend/aci/utils.py index 094d660..67f2aa3 100644 --- a/backend/aci/utils.py +++ b/backend/aci/utils.py @@ -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')}"