X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=Date.js;h=907df59a19b1442b2f92f62df7f7fd3544a09f8e;hp=228920a703b916e3a8a9124a9c48cde78c995094;hb=refs%2Fheads%2Fwip_alan_T5649_Example_fix_for_blog_post;hpb=b7ad3fd41b3d064c0ea41addab60b3b41b834a89 diff --git a/Date.js b/Date.js index 228920a7..907df59a 100644 --- a/Date.js +++ b/Date.js @@ -729,6 +729,7 @@ Date.prototype.clearTime = function(clone){ // private // safari setMonth is broken +/* if(Roo.isSafari){ Date.brokenSetMonth = Date.prototype.setMonth; Date.prototype.setMonth = function(num){ @@ -743,6 +744,7 @@ if(Roo.isSafari){ } }; } +*/ /** Date interval constant * @static @@ -830,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