From 5830ea153ec11a2de2e84845d5b7f3e71a21c895 Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Mon, 22 Jun 2009 17:06:17 -0400 Subject: [PATCH] localtime instead of gmtime Signed-off-by: Mariano Alvira --- rimecollect-rrd/meshstat.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rimecollect-rrd/meshstat.cgi b/rimecollect-rrd/meshstat.cgi index f4ba0405e..498c8a4e9 100755 --- a/rimecollect-rrd/meshstat.cgi +++ b/rimecollect-rrd/meshstat.cgi @@ -50,7 +50,7 @@ foreach my $file (@files) { my $lastupdate = qx(rrdtool lastupdate $meshpath/$addr.rrd); $lastupdate =~ /([\w\d]+)\s+(\d+):\s+([\w\d]+)/; - print gmtime($2) . " $1 $3
"; + print localtime($2) . " $1 $3
"; foreach my $ds (keys(%dses)) { print h2("$ds: $aliases{$addr}{'ds'}{$ds}");