parent
073d695c94
commit
72cf023bf8
|
@ -53,7 +53,7 @@ if (empty($object->comments) && ! $addLink) {
|
|||
$this->timeUntil($downtime->end)
|
||||
);
|
||||
} else {
|
||||
if ($downtime->start <= time() && ! (bool) $downtime->is_in_effect) {
|
||||
if ($downtime->start <= time()) {
|
||||
$state = sprintf(
|
||||
$this->translate('ends %s', 'Last format parameter represents the end time'),
|
||||
$this->timeUntil($downtime->is_flexible ? $downtime->scheduled_end : $downtime->end)
|
||||
|
|
Loading…
Reference in New Issue