поменял дату на сегодня. (было сегодня +1 день для теста)
This commit is contained in:
@@ -3136,8 +3136,8 @@ def resolve_period(ls: dict, game: dict) -> str:
|
||||
async def games_online():
|
||||
if not CALENDAR or "items" not in CALENDAR:
|
||||
raise HTTPException(status_code=503, detail="calendar data not ready")
|
||||
# today = datetime.now().date()
|
||||
today = (datetime.now() + timedelta(days=1)).date()
|
||||
today = datetime.now().date()
|
||||
# today = (datetime.now() + timedelta(days=1)).date()
|
||||
todays_games = []
|
||||
final_states = {"result", "resultconfirmed", "finished"}
|
||||
for item in CALENDAR["items"]:
|
||||
|
||||
Reference in New Issue
Block a user