summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@srv-vie-puppet.vie.mm-karton.com>2008-11-29 16:02:34 +0100
committerAndreas Unterkircher <unki@netshadow.net>2017-10-19 06:43:15 +0200
commit609649eb5f71e4e7709a301355a570629a535a70 (patch)
tree911440ccd1324e220cdc8d49df9b4d8d0c0b404a
parentfff0f36b057ccd560da19bb6e4e42b6d347d995b (diff)
downloadexilog-609649eb5f71e4e7709a301355a570629a535a70.zip
exilog-609649eb5f71e4e7709a301355a570629a535a70.tar.gz
exilog-609649eb5f71e4e7709a301355a570629a535a70.tar.bz2
convert last update to readable time
Signed-off-by: Andreas Unterkircher <unki@srv-vie-puppet.vie.mm-karton.com>
-rw-r--r--cgi/exilog_cgi_html.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgi/exilog_cgi_html.pm b/cgi/exilog_cgi_html.pm
index 9ee813d..7b2989f 100644
--- a/cgi/exilog_cgi_html.pm
+++ b/cgi/exilog_cgi_html.pm
@@ -52,6 +52,8 @@ sub render_server {
my $h24_stats = shift;
my $last_update = shift;
+ $last_update = _timespan($last_update);
+
$q->div({-class=>"top_spacer"},
$q->table({-class=>"stats", -cellspacing=>1, -cellpadding=>2, -border=>0},
$q->Tr(