GitLogParser.js
authorAlan Knowles <alan@roojs.com>
Sat, 2 Mar 2013 04:47:42 +0000 (12:47 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 2 Mar 2013 04:47:42 +0000 (12:47 +0800)
GitLogParser.js

index f9eb0a3..09062eb 100644 (file)
@@ -230,6 +230,15 @@ for (var h in res) {
     }
     
 }
+
+
+print("\nLONGIDLE : " +(totals.idle/60).toFixed(2) +"h" );
+print("\nShort Idle : " +(totals.shortidle/60).toFixed(2) +"h" );
+
+print("Worked: " + (totals.work/60).toFixed(2) +"h\n" );
+
+
 for (var h in GitLogParser.shours) {
     var hsum = [];
     var htot = 0;
@@ -250,12 +259,6 @@ for (var h in GitLogParser.shours) {
 
 
 
-print("\nLONGIDLE : " +(totals.idle/60).toFixed(2) +"h" );
-print("\nShort Idle : " +(totals.shortidle/60).toFixed(2) +"h" );
-
-print("Worked: " + (totals.work/60).toFixed(2) +"h\n" );
-
 // open file..
 
 // read lines