From e41c7caf85202f1df0a16844f034e202da427a4f Mon Sep 17 00:00:00 2001 From: Administrator Date: Sat, 22 Oct 2022 00:35:31 +0300 Subject: [PATCH] no timezone while fetch --- daemons/fetch.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/daemons/fetch.py b/daemons/fetch.py index 55b683a..c1e3a16 100644 --- a/daemons/fetch.py +++ b/daemons/fetch.py @@ -28,7 +28,6 @@ def fetch_schedule_for_user(user_hse_id: int): day=int(day), hour=int(begin_hour), minute=int(begin_minute), - tzinfo=MOSCOW_TIMEZONE ) }) if lesson is None: @@ -42,7 +41,6 @@ def fetch_schedule_for_user(user_hse_id: int): day=int(day), hour=int(begin_hour), minute=int(begin_minute), - tzinfo=MOSCOW_TIMEZONE ), "end": datetime.datetime( year=int(year), @@ -50,7 +48,6 @@ def fetch_schedule_for_user(user_hse_id: int): day=int(day), hour=int(end_hour), minute=int(end_minute), - tzinfo=MOSCOW_TIMEZONE ), "building": element['building'], "lecturer": element['lecturer'],