From 07b469ccfc272b536eaf8ab29b1a8c635cd93e75 Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Mon, 8 Jul 2024 08:56:59 +0300 Subject: [PATCH] not datetime in parser --- src/listener_mention.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/listener_mention.py b/src/listener_mention.py index bb9e805..ae5c83e 100644 --- a/src/listener_mention.py +++ b/src/listener_mention.py @@ -73,7 +73,7 @@ def get_control_mention(): break if now_hour == 0: logger.warning(f'Автоматический триггер в полночи сработал') - st_date = time_now + st_date = time_now.strftime("%d.%m.%YT%H:%M:%SZ") thread_created_at = dateutilparse(st_date) delta = relativedelta(hour=hour_poll_posting, minute=0, second=0, weekday=TU(1))