projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd1e5cd
)
Date.js
author
Alan Knowles
<alan@roojs.com>
Thu, 23 Jun 2016 08:57:13 +0000
(16:57 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 23 Jun 2016 08:57:13 +0000
(16:57 +0800)
Date.js
patch
|
blob
|
history
diff --git
a/Date.js
b/Date.js
index
a756ec5
..
6f217a5
100644
(file)
--- a/
Date.js
+++ b/
Date.js
@@
-704,8
+704,8
@@
Date.prototype.clearTime = function(clone){
};
// private
-// safari setMonth is broken
-if(Roo.isSafari){
+// safari setMonth is broken
-- check that this is only donw once...
+if(Roo.isSafari
&& typeof(Date.brokenSetMonth) == 'undefined'
){
Date.brokenSetMonth = Date.prototype.setMonth;
Date.prototype.setMonth = function(num){
if(num <= -1){