diff --git a/modules/monitoring/application/views/scripts/show/components/downtime.phtml b/modules/monitoring/application/views/scripts/show/components/downtime.phtml index 72c506415..7d4d18835 100644 --- a/modules/monitoring/application/views/scripts/show/components/downtime.phtml +++ b/modules/monitoring/application/views/scripts/show/components/downtime.phtml @@ -52,13 +52,13 @@ if (empty($object->comments) && ! $addLink) { if ((bool) $downtime->is_in_effect) { $state = sprintf( $this->translate('expires %s', 'Last format parameter represents the downtime expire time'), - $this->timeUntil($downtime->end) + $this->timeUntil($downtime->end, false, true) ); } else { 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) + $this->timeUntil($downtime->is_flexible ? $downtime->scheduled_end : $downtime->end, false, true) ); } else { if ((bool) $downtime->is_fixed) {