From 55596ef8c29ae876c718946d54de787f32033db0 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 28 Aug 2008 04:26:13 +0000 Subject: Bug 399070: Remove the 'timezone' parameter - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Template.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Bugzilla/Template.pm') diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 76ff9f11d..dbf52a97b 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -45,7 +45,6 @@ use Bugzilla::Template::Parser; use Cwd qw(abs_path); use MIME::Base64; -# for time2str - replace by TT Date plugin?? use Date::Format (); use File::Basename qw(dirname); use File::Find; @@ -605,10 +604,10 @@ sub create { # Format a time for display (more info in Bugzilla::Util) time => [ sub { - my ($context, $format) = @_; + my ($context, $format, $timezone) = @_; return sub { my $time = shift; - return format_time($time, $format); + return format_time($time, $format, $timezone); }; }, 1 -- cgit v1.2.3-24-g4f1b