This commit is contained in:
David Brazda
2023-05-08 20:03:16 +02:00
parent 1cdfa803b2
commit 25221de1d9
4 changed files with 34 additions and 11 deletions

View File

@ -137,7 +137,7 @@ def is_open_rush(dt: datetime, mins: int = 30):
def is_close_rush(dt: datetime, mins: int = 30):
""""
Returns true if time is within morning rush (open+mins)
Returns true if time is within afternoon rush (close-mins)
"""
dt = dt.astimezone(zoneNY)
business_hours = {