GitLogParser.js
[gitlive] / GitLogParser.js
index e6302f5..14712e2 100644 (file)
@@ -261,9 +261,9 @@ for (var desc in totals) {
     hsum.push({ desc : desc, tot : totals[desc] });
 }
 hsum.sort(function(a,b) { if (a.tot == b.tot) { return 0; } return a.tot < b.tot ? 1 : -1 });
-print("\n\nDay Total (" + htot +')');
+print("\n\nDay Total");
 hsum.forEach(function(r) {
-    print ("  " + r.tot + "   : " + r.desc);
+    print ("  " + (r.tot.toFixed(2)*1) + "   : " + r.desc);
 });
 
 //print(JSON.stringify(GitLogParser.shours,null,4));