From f36dc49c5b475b19201113f8a37cd5b226eed7d4 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Mon, 26 Nov 2012 10:33:44 -0500 Subject: Bug 812543 - Back port patch from bug 797636 to bmo/4.2 to bring in performance enhancements r=glob --- template/en/default/filterexceptions.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'template/en/default/filterexceptions.pl') diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index 917dc85ae..08757cfe7 100644 --- a/template/en/default/filterexceptions.pl +++ b/template/en/default/filterexceptions.pl @@ -280,8 +280,7 @@ 'bug/time.html.tmpl' => [ - 'time_unit FILTER format(\'%.1f\')', - 'time_unit FILTER format(\'%.2f\')', + "time_unit.replace('0\\Z', '')", '(act / (act + rem)) * 100 FILTER format("%d")', ], -- cgit v1.2.3-24-g4f1b