diff options
-rwxr-xr-x | bin/icli | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -69,6 +69,11 @@ sub with_colour { sub pretty_date { my ($unix) = @_; + + if ($unix == 0) { + return 'never'; + } + return time2str('%Y-%m-%d %H:%M:%S', $unix); } |
index : App-Icli | ||
Icinga Command Line Interface | derf |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/icli | 5 |
@@ -69,6 +69,11 @@ sub with_colour { sub pretty_date { my ($unix) = @_; + + if ($unix == 0) { + return 'never'; + } + return time2str('%Y-%m-%d %H:%M:%S', $unix); } |