diff options
author | lpsolit%gmail.com <> | 2008-08-28 06:26:13 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-08-28 06:26:13 +0200 |
commit | 55596ef8c29ae876c718946d54de787f32033db0 (patch) | |
tree | 5a09a8373f1e9e268f96caf7ee85e8bf2fee59f4 /Bugzilla/Template.pm | |
parent | ef56c491a65eed9dfddb2866c5faa59acb69b0ed (diff) | |
download | bugzilla-55596ef8c29ae876c718946d54de787f32033db0.tar.gz bugzilla-55596ef8c29ae876c718946d54de787f32033db0.tar.xz |
Bug 399070: Remove the 'timezone' parameter - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r-- | Bugzilla/Template.pm | 5 |
1 files changed, 2 insertions, 3 deletions
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 |