projects
/
gitlive
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Partial Fix #5560 - Gitlive - branching wip
[gitlive]
/
Date.js
diff --git
a/Date.js
b/Date.js
index
228920a
..
907df59
100644
(file)
--- a/
Date.js
+++ b/
Date.js
@@
-729,6
+729,7
@@
Date.prototype.clearTime = function(clone){
// private
// safari setMonth is broken
// private
// safari setMonth is broken
+/*
if(Roo.isSafari){
Date.brokenSetMonth = Date.prototype.setMonth;
Date.prototype.setMonth = function(num){
if(Roo.isSafari){
Date.brokenSetMonth = Date.prototype.setMonth;
Date.prototype.setMonth = function(num){
@@
-743,6
+744,7
@@
if(Roo.isSafari){
}
};
}
}
};
}
+*/
/** Date interval constant
* @static
/** Date interval constant
* @static
@@
-830,4
+832,8
@@
Date.prototype.add = function(interval, value){
}
return d;
};
}
return d;
};
-
\ No newline at end of file
+
+
+function newDate() {
+ return new Date();
+}
\ No newline at end of file