projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
10ae82c
)
fix date
author
Alan Knowles
<alan@akbkhome.com>
Wed, 30 Nov 2011 08:52:45 +0000
(16:52 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 30 Nov 2011 08:52:45 +0000
(16:52 +0800)
Date.js
patch
|
blob
|
history
diff --git
a/Date.js
b/Date.js
index
aff4700
..
907df59
100644
(file)
--- a/
Date.js
+++ b/
Date.js
@@
-832,4
+832,8
@@
Date.prototype.add = function(interval, value){
}
return d;
};
-
\ No newline at end of file
+
+
+function newDate() {
+ return new Date();
+}
\ No newline at end of file