diff options
Diffstat (limited to 'bin')
-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); } |