поправлено на московское время

This commit is contained in:
2025-11-01 13:05:10 +03:00
parent a74d289a84
commit 1fb9e62379

View File

@@ -592,7 +592,7 @@ def extract_game_datetime(game_item: dict) -> datetime | None:
try:
date_str = game_item["game"]["localDate"] # '31.10.2025'
dt_date = datetime.strptime(date_str, "%d.%m.%Y").date()
time_str = game_item["game"].get("localTime") # '19:30'
time_str = game_item["game"].get("defaultZoneTime") # '19:30'
if time_str:
hh, mm = map(int, time_str.split(":"))
dt_time = dtime(hour=hh, minute=mm)