summaryrefslogtreecommitdiffstats
path: root/chart.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-08-27 09:32:11 +0200
committerlpsolit%gmail.com <>2008-08-27 09:32:11 +0200
commit615cfb88c1aae1f8372b323e9c53a84d8c9146fe (patch)
treed41bf992b9de42c29141e41714b6108866a39204 /chart.cgi
parent68c8ee64ec7dc985931f17f98cb83ee153dcd25c (diff)
downloadbugzilla-615cfb88c1aae1f8372b323e9c53a84d8c9146fe.tar.gz
bugzilla-615cfb88c1aae1f8372b323e9c53a84d8c9146fe.tar.xz
Bug 182238: Allow users to choose what time zone to display times in - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'chart.cgi')
-rwxr-xr-xchart.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart.cgi b/chart.cgi
index 70eeb814a..25d5b446d 100755
--- a/chart.cgi
+++ b/chart.cgi
@@ -292,7 +292,7 @@ sub wrap {
# We create a Chart object so we can validate the parameters
my $chart = new Bugzilla::Chart($cgi);
- $vars->{'time'} = time();
+ $vars->{'time'} = localtime(time());
$vars->{'imagebase'} = $cgi->canonicalise_query(
"action", "action-wrap", "ctype", "format", "width", "height");