From 3d3cd5e324883321fd008231499f68b41e8f2009 Mon Sep 17 00:00:00 2001 From: dj Date: Fri, 10 May 2024 03:50:47 +0300 Subject: [PATCH] Update --- requirements.txt | 2 +- tgbot/utils/const_functions.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index bf96158..5169ac2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ APScheduler==3.10.4 -aiogram==3.4.1 +aiogram==3.5.0 colorlog==6.8.2 pytz==2024.1 typing~=3.7.4.3 diff --git a/tgbot/utils/const_functions.py b/tgbot/utils/const_functions.py index 379f64e..ecf21aa 100644 --- a/tgbot/utils/const_functions.py +++ b/tgbot/utils/const_functions.py @@ -173,7 +173,7 @@ def convert_date(from_time, full=True, second=True) -> Union[str, int]: else: x_year, x_month, x_day = cache_date[2], cache_date[1], cache_date[0] - x_hour, x_minute, x_second = cache_time[0], cache_time[2], cache_time[2] + x_hour, x_minute, x_second = cache_time[0], cache_time[1], cache_time[2] from_time = f"{x_day}.{x_month}.{x_year} {x_hour}:{x_minute}:{x_second}" else: