other regions

This commit is contained in:
Administrator
2022-10-25 17:42:13 +03:00
parent b879e5e19f
commit 3c5d7b502b
7 changed files with 63 additions and 20 deletions

View File

@@ -54,7 +54,7 @@ class Mongo:
return self["lessons"]
def get_today_lessons(self, user: User):
today = now()
today = now(user)
tomorrow = today + datetime.timedelta(days=1)
tomorrow = datetime.datetime(year=tomorrow.year, month=tomorrow.month, day=tomorrow.day)
lessons = []