GitLogParser.js
authorAlan Knowles <alan@roojs.com>
Mon, 3 Dec 2012 04:27:36 +0000 (12:27 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 3 Dec 2012 04:27:36 +0000 (12:27 +0800)
GitLogParser.js

index c2e155e..f844c5d 100644 (file)
@@ -168,7 +168,8 @@ for (var h in res) {
     }
     
 }
-
+print("IDLE : " + Math.floor(total.idle/60) +"h\n" );
+print("Worked: " + Math.floor(total.work/60) +"h\n" );
 print(JSON.stringify(totals,null,4));
 
 // open file..