aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/setting-descs.none.tmpl2
-rw-r--r--template/en/default/list/list.html.tmpl6
-rw-r--r--template/en/default/reports/chart.html.tmpl4
-rw-r--r--template/en/default/reports/report.html.tmpl4
4 files changed, 9 insertions, 7 deletions
diff --git a/template/en/default/global/setting-descs.none.tmpl b/template/en/default/global/setting-descs.none.tmpl
index 10290ad66..bcd476d04 100644
--- a/template/en/default/global/setting-descs.none.tmpl
+++ b/template/en/default/global/setting-descs.none.tmpl
@@ -43,5 +43,7 @@
"quote_replies" => "Quote the associated comment when you click on its reply link",
"quoted_reply" => "Quote the full comment",
"simple_reply" => "Reference the comment number only",
+ "timezone" => "Timezone used to display dates and times",
+ "local" => "Same as the server",
}
%]
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index 512201c27..37fd0a638 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -54,11 +54,7 @@
<div class="bz_query_head" align="center">
<span class="bz_query_timestamp">
- [% IF Param('timezone') %]
- <b>[% time2str("%a %b %e %Y %T %Z", currenttime, Param('timezone')) %]</b><br>
- [% ELSE %]
- <b>[% time2str("%a %b %e %Y %T", currenttime) %]</b><br>
- [% END %]
+ <b>[% currenttime FILTER time('%a %b %e %Y %T %Z') FILTER html %]</b><br>
</span>
[% IF debug %]
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 %]