diff options
author | lpsolit%gmail.com <> | 2008-08-27 09:32:11 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-08-27 09:32:11 +0200 |
commit | 615cfb88c1aae1f8372b323e9c53a84d8c9146fe (patch) | |
tree | d41bf992b9de42c29141e41714b6108866a39204 /Bugzilla/Template.pm | |
parent | 68c8ee64ec7dc985931f17f98cb83ee153dcd25c (diff) | |
download | bugzilla-615cfb88c1aae1f8372b323e9c53a84d8c9146fe.tar.gz bugzilla-615cfb88c1aae1f8372b323e9c53a84d8c9146fe.tar.xz |
Bug 182238: Allow users to choose what time zone to display times in - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r-- | Bugzilla/Template.pm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 8a322fae5..76ff9f11d 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -604,7 +604,15 @@ sub create { }, # Format a time for display (more info in Bugzilla::Util) - time => \&Bugzilla::Util::format_time, + time => [ sub { + my ($context, $format) = @_; + return sub { + my $time = shift; + return format_time($time, $format); + }; + }, + 1 + ], # Bug 120030: Override html filter to obscure the '@' in user # visible strings. |