Skip to content

Commit

Permalink
Bug 813630: Last resolved time is displayed in server timezone not as…
Browse files Browse the repository at this point in the history
… per user preferences
  • Loading branch information
globau committed Feb 5, 2015
1 parent 7732e14 commit fab4132
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions extensions/InlineHistory/Extension.pm
Expand Up @@ -106,6 +106,7 @@ sub template_before_process {
my $field_obj;
if ($change->{fieldname} =~ /^cf_/) {
$field_obj = Bugzilla::Field->new({ name => $change->{fieldname}, cache => 1 });
$change->{fieldtype} = $field_obj->type;
}

# identify buglist changes
Expand Down
Expand Up @@ -157,6 +157,8 @@
change.fieldname == 'cc' ||
change.fieldname == 'flagtypes.name' %]
[% value FILTER email FILTER js %]
[% ELSIF change.fieldtype == constants.FIELD_TYPE_DATETIME %]
[% value FILTER time FILTER js %]
[% ELSE %]
[% value FILTER ih_short_value FILTER html FILTER js %]
[% END %]
Expand Down

0 comments on commit fab4132

Please sign in to comment.