summaryrefslogtreecommitdiffstats
path: root/template/en/default/reports
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 /template/en/default/reports
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 'template/en/default/reports')
-rw-r--r--template/en/default/reports/chart.html.tmpl4
-rw-r--r--template/en/default/reports/report.html.tmpl4
2 files changed, 6 insertions, 2 deletions
diff --git a/template/en/default/reports/chart.html.tmpl b/template/en/default/reports/chart.html.tmpl
index 06a8d791f..e14744d31 100644
--- a/template/en/default/reports/chart.html.tmpl
+++ b/template/en/default/reports/chart.html.tmpl
@@ -25,9 +25,11 @@
height = 350
%]
+[% time = time FILTER time('%Y-%m-%d %H:%M:%S') FILTER html %]
+
[% PROCESS global/header.html.tmpl
title = "Chart"
- header_addl_info = time2str("%Y-%m-%d %H:%M:%S", time)
+ header_addl_info = time
%]
<div align="center">
diff --git a/template/en/default/reports/report.html.tmpl b/template/en/default/reports/report.html.tmpl
index b8e52219a..37af0b300 100644
--- a/template/en/default/reports/report.html.tmpl
+++ b/template/en/default/reports/report.html.tmpl
@@ -66,6 +66,8 @@
[% col_field_disp FILTER html %]
[% END %]
+[% time = time FILTER time('%Y-%m-%d %H:%M:%S') FILTER html %]
+
[% PROCESS global/header.html.tmpl
style = "
.t1 { background-color: #ffffff } /* white */
@@ -74,7 +76,7 @@
.t4 { background-color: #c3d3ed } /* darker blue */
.ttotal { background-color: #cfffdf } /* light green */
"
- header_addl_info = time2str("%Y-%m-%d %H:%M:%S", time)
+ header_addl_info = time
%]
[% IF debug %]