From: Alan Knowles Date: Mon, 3 Apr 2017 03:43:02 +0000 (+0800) Subject: GitLogParser.js X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=7b451a818a233de101d72697a96e2e4ff0a9cab1 GitLogParser.js --- diff --git a/GitLogParser.js b/GitLogParser.js index e6302f56..186f68c0 100644 --- a/GitLogParser.js +++ b/GitLogParser.js @@ -263,7 +263,7 @@ for (var desc in totals) { hsum.sort(function(a,b) { if (a.tot == b.tot) { return 0; } return a.tot < b.tot ? 1 : -1 }); print("\n\nDay Total (" + htot +')'); hsum.forEach(function(r) { - print (" " + r.tot + " : " + r.desc); + print (" " + (r.tot.toFixed(2)*1) + " : " + r.desc); }); //print(JSON.stringify(GitLogParser.shours,null,4));