Use timeSince() in the monitoring list command

refs #6778
This commit is contained in:
Eric Lippmann 2015-04-15 15:46:12 +02:00
parent 796cbffbd7
commit 0f70701034
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ class ListCommand extends Command
$leaf,
$screen->underline($row->service_description),
$screen->colorize($utils->objectStateFlags('service', $row) . $perf, 'lightblue'),
Format::prefixedTimeSince($row->service_last_state_change, true)
ucfirst(Format::timeSince($row->service_last_state_change))
);
if ($this->isVerbose) {
$out .= $emptyLine . preg_replace(