mirror of
https://github.com/Sea-Haven-Industries/meal-order-manager.git
synced 2026-10-02 13:03:11 +00:00
Apply ruff formatting to submit_order handler
This commit is contained in:
parent
6bc5ccaedd
commit
373f959282
1 changed files with 1 additions and 3 deletions
|
|
@ -145,9 +145,7 @@ def handle_form_status(event):
|
|||
# If today is Monday past 8am, next Monday is 7 days away
|
||||
days_until_monday = 7
|
||||
reopen_date = today + timedelta(days=days_until_monday)
|
||||
next_monday = _dt.datetime.combine(
|
||||
reopen_date, _dt.time(8, 0), tzinfo=EASTERN
|
||||
)
|
||||
next_monday = _dt.datetime.combine(reopen_date, _dt.time(8, 0), tzinfo=EASTERN)
|
||||
result["reopen_at"] = int(next_monday.timestamp())
|
||||
return response(200, result)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue