fix: ввод даты, ввод формата
This commit is contained in:
@@ -107,7 +107,7 @@ def _determine_status(
|
||||
time_on_top = int((now - published_at).total_seconds())
|
||||
|
||||
# Получаем требуемую длительность из формата
|
||||
required_duration = domain.parse_format_duration(placement.format)
|
||||
required_duration = domain.get_feed_duration_seconds(placement)
|
||||
|
||||
# Если формат "без удаления" - размещение отработало, если прошло 24 часа
|
||||
if required_duration is None:
|
||||
|
||||
Reference in New Issue
Block a user