no timezone while fetch
This commit is contained in:
parent
a498d6e611
commit
e41c7caf85
@ -28,7 +28,6 @@ def fetch_schedule_for_user(user_hse_id: int):
|
|||||||
day=int(day),
|
day=int(day),
|
||||||
hour=int(begin_hour),
|
hour=int(begin_hour),
|
||||||
minute=int(begin_minute),
|
minute=int(begin_minute),
|
||||||
tzinfo=MOSCOW_TIMEZONE
|
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
if lesson is None:
|
if lesson is None:
|
||||||
@ -42,7 +41,6 @@ def fetch_schedule_for_user(user_hse_id: int):
|
|||||||
day=int(day),
|
day=int(day),
|
||||||
hour=int(begin_hour),
|
hour=int(begin_hour),
|
||||||
minute=int(begin_minute),
|
minute=int(begin_minute),
|
||||||
tzinfo=MOSCOW_TIMEZONE
|
|
||||||
),
|
),
|
||||||
"end": datetime.datetime(
|
"end": datetime.datetime(
|
||||||
year=int(year),
|
year=int(year),
|
||||||
@ -50,7 +48,6 @@ def fetch_schedule_for_user(user_hse_id: int):
|
|||||||
day=int(day),
|
day=int(day),
|
||||||
hour=int(end_hour),
|
hour=int(end_hour),
|
||||||
minute=int(end_minute),
|
minute=int(end_minute),
|
||||||
tzinfo=MOSCOW_TIMEZONE
|
|
||||||
),
|
),
|
||||||
"building": element['building'],
|
"building": element['building'],
|
||||||
"lecturer": element['lecturer'],
|
"lecturer": element['lecturer'],
|
||||||
|
Loading…
Reference in New Issue
Block a user