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

index 78f5fd0..62d8f5b 100644 (file)
@@ -168,8 +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("IDLE : " + Math.floor(totals.idle/60) +"h\n" );
+print("Worked: " + Math.floor(totals.work/60) +"h\n" );
  
 
 // open file..