]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 194160: buglist.cgi has wrong time zone in datestamp at the top
authormkanat%kerio.com <>
Tue, 22 Mar 2005 16:49:01 +0000 (16:49 +0000)
committermkanat%kerio.com <>
Tue, 22 Mar 2005 16:49:01 +0000 (16:49 +0000)
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=joel, a=justdave

template/en/default/list/list.html.tmpl

index 5a3926c5e587e3e18ab439f6894b7c10c124f16d..c244b3f0c62d08e54bd57ce8750ac42095dc8b69 100644 (file)
 %]
 
 <div align="center">
-  <b>[% time2str("%a %b %e %T %Z %Y", currenttime) %]</b><br>
+  [% IF Param('timezone') %]\r
+    <b>[% time2str("%a %b %e %Y %T %Z", currenttime, Param('timezone')) %]</b><br>\r
+  [% ELSE %]\r
+    <b>[% time2str("%a %b %e %Y %T", currenttime) %]</b><br>\r
+  [% END %]\r
 
   [% IF debug %]
     <p>[% query FILTER html %]</p>