diff --git a/scheduler.py b/scheduler.py index f0bc1ef..07df1b3 100644 --- a/scheduler.py +++ b/scheduler.py @@ -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 = """