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),
|
||||
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'],
|
||||
|
Loading…
Reference in New Issue
Block a user