поменял дату на сегодня. (было сегодня +1 день для теста)

This commit is contained in:
2025-11-14 17:10:44 +03:00
parent afa184f8e7
commit b163583143

View File

@@ -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"]: