projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
788ead8
)
GitLogParser.js
author
Alan Knowles
<alan@roojs.com>
Sat, 2 Mar 2013 04:47:42 +0000
(12:47 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sat, 2 Mar 2013 04:47:42 +0000
(12:47 +0800)
GitLogParser.js
patch
|
blob
|
history
diff --git
a/GitLogParser.js
b/GitLogParser.js
index
f9eb0a3
..
09062eb
100644
(file)
--- 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;
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
// open file..
// read lines