From: Alan Knowles Date: Sat, 2 Mar 2013 04:47:42 +0000 (+0800) Subject: GitLogParser.js X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=a570d543aaf25b3a5d1378b8b3759b0bc40fd4bd GitLogParser.js --- diff --git a/GitLogParser.js b/GitLogParser.js index f9eb0a33..09062ebc 100644 --- a/GitLogParser.js +++ b/GitLogParser.js @@ -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