mirror of
https://github.com/doms9/iptv.git
synced 2026-06-14 12:36:27 +02:00
e
- misc edits.
This commit is contained in:
parent
22645d6b75
commit
00000d9e1a
4 changed files with 4 additions and 21 deletions
|
|
@ -104,9 +104,7 @@ async def get_events(cached_keys: list[str]) -> list[dict[str, str]]:
|
|||
for game in data.get("games", {}):
|
||||
game_id = game["id"]
|
||||
|
||||
game_time = game["datetime"]
|
||||
|
||||
event_dt = Time.from_str(game_time, timezone="UTC")
|
||||
event_dt = Time.fromisoformat(game["datetime"]).to_tz("EST")
|
||||
|
||||
if not start_dt <= event_dt <= end_dt:
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue