From e88624b916970e7399ed2c36c33709d08d944095 Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Thu, 26 Sep 2024 12:39:11 +0100 Subject: [PATCH] fix(backend): reject changed their date formatting --- backend/aci/proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/aci/proxy.py b/backend/aci/proxy.py index 30c6284..b3a927e 100644 --- a/backend/aci/proxy.py +++ b/backend/aci/proxy.py @@ -11,7 +11,7 @@ from .utils import format_checkin_date router = APIRouter(prefix='/3p-proxy') def reformat_reject_date(date: str): - return format_checkin_date(datetime.strptime(date, '%a %b %d %Y')) + return format_checkin_date(datetime.strptime(date, '%Y-%m-%d')) def make_client_session(): ssl_context = ssl.create_default_context(cafile=certifi.where())