not datetime in parser

This commit is contained in:
localhost_frssoft 2024-07-08 08:56:59 +03:00
parent ee9e42e092
commit 07b469ccfc

View file

@ -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))