Template
mirror of
https://github.com/djimboy/djimbo_template_aio3.git
synced 2026-08-29 08:27:43 +00:00
Update
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
APScheduler==3.10.4
|
APScheduler==3.10.4
|
||||||
aiogram==3.4.1
|
aiogram==3.5.0
|
||||||
colorlog==6.8.2
|
colorlog==6.8.2
|
||||||
pytz==2024.1
|
pytz==2024.1
|
||||||
typing~=3.7.4.3
|
typing~=3.7.4.3
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ def convert_date(from_time, full=True, second=True) -> Union[str, int]:
|
|||||||
else:
|
else:
|
||||||
x_year, x_month, x_day = cache_date[2], cache_date[1], cache_date[0]
|
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}"
|
from_time = f"{x_day}.{x_month}.{x_year} {x_hour}:{x_minute}:{x_second}"
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user