mirror of
https://gitea.phreedom.club/localhost_frssoft/FMN_bot.git
synced 2024-11-26 04:51:28 +00:00
not datetime in parser
This commit is contained in:
parent
ee9e42e092
commit
07b469ccfc
|
@ -73,7 +73,7 @@ def get_control_mention():
|
||||||
break
|
break
|
||||||
if now_hour == 0:
|
if now_hour == 0:
|
||||||
logger.warning(f'Автоматический триггер в полночи сработал')
|
logger.warning(f'Автоматический триггер в полночи сработал')
|
||||||
st_date = time_now
|
st_date = time_now.strftime("%d.%m.%YT%H:%M:%SZ")
|
||||||
thread_created_at = dateutilparse(st_date)
|
thread_created_at = dateutilparse(st_date)
|
||||||
|
|
||||||
delta = relativedelta(hour=hour_poll_posting, minute=0, second=0, weekday=TU(1))
|
delta = relativedelta(hour=hour_poll_posting, minute=0, second=0, weekday=TU(1))
|
||||||
|
|
Loading…
Reference in a new issue