projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf3932c
)
fix date calc
author
Edward
<edward@roojs.com>
Mon, 4 Mar 2013 02:43:56 +0000
(10:43 +0800)
committer
Edward
<edward@roojs.com>
Mon, 4 Mar 2013 02:43:56 +0000
(10:43 +0800)
WindowLog.js
patch
|
blob
|
history
diff --git
a/WindowLog.js
b/WindowLog.js
index
ec4eb69
..
62fe24e
100644
(file)
--- a/
WindowLog.js
+++ b/
WindowLog.js
@@
-99,9
+99,10
@@
WindowLog = {
var time = ctime.format("H:i:s ")
File.append (path, "\n" +time + str + ' ' + cmd );
-
+
+
// copy to gitlive/gitlog (each user should check out their own gitlog!?
- if (this.lastcopy && this.lastcopy > ctime.add(Date.HOUR, -1)) {
+ if (this.lastcopy && this.lastcopy > ctime.add(
xDate.
Date.HOUR, -1)) {
return;
}
this.lastcopy = ctime;