]> 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:46:13 +0000 (16:46 +0000)
committermkanat%kerio.com <>
Tue, 22 Mar 2005 16:46:13 +0000 (16:46 +0000)
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=joel, a=justdave

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

index 4d0a3754489a12d53ecc29919e9a388efac41aeb..0d3a38d5e39ec86fe82205f5038dd7fae4af3800 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>