From 7b451a818a233de101d72697a96e2e4ff0a9cab1 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 3 Apr 2017 11:43:02 +0800 Subject: [PATCH] GitLogParser.js --- GitLogParser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.39.2