fix(backend): reject changed their date formatting
All checks were successful
Publish docker image / Publish (push) Successful in 17m30s
All checks were successful
Publish docker image / Publish (push) Successful in 17m30s
This commit is contained in:
parent
af604e5aa8
commit
e88624b916
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue