RSS

(root)/bugzilla/3.4 : 6201 : Bugzilla/Template.pm

To get this branch, use:
bzr branch /bugzilla/3.4

« back to all changes in this revision

Viewing changes to Bugzilla/Template.pm

lpsolit%gmail.com
2008-08-27 21:26:13
Revision ID: cvs-1:lpsolitgmail.com-20080828042613-towulv4h1zoddgnl
Bug 399070: Remove the 'timezone' parameter - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat

Show diffs side-by-side

added added

removed removed

45
45
 
46
46
use Cwd qw(abs_path);
47
47
use MIME::Base64;
48
 
# for time2str - replace by TT Date plugin??
49
48
use Date::Format ();
50
49
use File::Basename qw(dirname);
51
50
use File::Find;
605
604
 
606
605
            # Format a time for display (more info in Bugzilla::Util)
607
606
            time => [ sub {
608
 
                          my ($context, $format) = @_;
 
607
                          my ($context, $format, $timezone) = @_;
609
608
                          return sub {
610
609
                              my $time = shift;
611
 
                              return format_time($time, $format);
 
610
                              return format_time($time, $format, $timezone);
612
611
                          };
613
612
                      },
614
613
                      1

Loggerhead 1.18.1 is a web-based interface for Bazaar branches