projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03d8881
)
GitLogParser.js
author
Alan Knowles
<alan@roojs.com>
Mon, 3 Dec 2012 04:24:48 +0000
(12:24 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 3 Dec 2012 04:24:48 +0000
(12:24 +0800)
GitLogParser.js
patch
|
blob
|
history
diff --git
a/GitLogParser.js
b/GitLogParser.js
index
f51ca37
..
40aed32
100644
(file)
--- a/
GitLogParser.js
+++ b/
GitLogParser.js
@@
-151,7
+151,7
@@
var res = GitLogParser.parse(xDate.Date.parseDate(Seed.argv[2], 'Y-m-d'));
for (var h in res) {
for (var p in res[h]) {
if (p == 'IDLE') {
- print(h + ' ' + Math.floor(res[h][p].total/60000) +'
)
IDLE' );
+ print(h + ' ' + Math.floor(res[h][p].total/60000) +'
m
IDLE' );
continue;
}
print(h + ' ' + Math.floor(res[h][p].total/60000) +'m ' + p );