фикс6

This commit is contained in:
2026-04-24 17:20:09 +03:00
parent c8decf6245
commit 03744d9c1a

View File

@@ -79,7 +79,14 @@ def get_today_matches_from_db() -> list[dict]:
для мониторинга. finished / cancelled можно не брать.
"""
now_local = datetime.now(TZ)
day_start = now_local.replace(tzinfo=None)
day_start = now_local.replace(
hour=0,
minute=0,
second=0,
microsecond=0,
tzinfo=None,
)
day_end = day_start + timedelta(days=1)
query = """