From: Alan Knowles Date: Wed, 2 Jan 2013 06:54:27 +0000 (+0800) Subject: GitLogParser.js X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=6ebbc452ebd6f91ca4396704ac681da2d36bdbc1 GitLogParser.js --- diff --git a/GitLogParser.js b/GitLogParser.js index b1281e7d..2a859090 100644 --- a/GitLogParser.js +++ b/GitLogParser.js @@ -227,7 +227,7 @@ for (var h in GitLogParser.shours) { var hsum = []; var htot = 0; for (var desc in GitLogParser.shours[h]) { - htot += GitLogParser.shours[h][desc]/60000).toFixed(2)*1; + htot += (GitLogParser.shours[h][desc]/60000).toFixed(2)*1; hsum.push({ desc : desc, tot : (GitLogParser.shours[h][desc]/60000).toFixed(2)*1 }) } hsum.sort(function(a,b) { if (a.tot == b.tot) { return 0; } return a.tot < b.tot ? 1 : -1 });