From 0f70701034d6db26d01f1f08325e21d25db6bc39 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 15 Apr 2015 15:46:12 +0200 Subject: [PATCH] Use timeSince() in the monitoring list command refs #6778 --- modules/monitoring/application/clicommands/ListCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monitoring/application/clicommands/ListCommand.php b/modules/monitoring/application/clicommands/ListCommand.php index 57a1afecf..9fd892652 100644 --- a/modules/monitoring/application/clicommands/ListCommand.php +++ b/modules/monitoring/application/clicommands/ListCommand.php @@ -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(