Browse Source

方法修改

es6
windy 7 years ago
parent
commit
a9989e8fbe
  1. 9
      bi/core.js
  2. 9
      dist/bundle.js
  3. 8
      dist/bundle.min.js
  4. 9
      dist/core.js
  5. 9
      src/core/proto/date.js

9
bi/core.js

@ -21320,6 +21320,15 @@ Date.getDate = function () {
return dt; return dt;
} }
}; };
Date.getTime = function () {
var dt = Function.prototype.bind.apply(Date.getDate, BI.concat([null], [].slice.apply(arguments)))();
if(BI.isNotNull(Date.timeZone)){
return dt.getTime() - Date.timeZone - dt.getTimezoneOffset() * 60000;
}else{
return dt.getTime();
}
};
/* /*
* 给jQuery.Event对象添加的工具方法 * 给jQuery.Event对象添加的工具方法
*/ */

9
dist/bundle.js vendored

@ -21320,6 +21320,15 @@ Date.getDate = function () {
return dt; return dt;
} }
}; };
Date.getTime = function () {
var dt = Function.prototype.bind.apply(Date.getDate, BI.concat([null], [].slice.apply(arguments)))();
if(BI.isNotNull(Date.timeZone)){
return dt.getTime() - Date.timeZone - dt.getTimezoneOffset() * 60000;
}else{
return dt.getTime();
}
};
/* /*
* 给jQuery.Event对象添加的工具方法 * 给jQuery.Event对象添加的工具方法
*/ */

8
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

9
dist/core.js vendored

@ -21320,6 +21320,15 @@ Date.getDate = function () {
return dt; return dt;
} }
}; };
Date.getTime = function () {
var dt = Function.prototype.bind.apply(Date.getDate, BI.concat([null], [].slice.apply(arguments)))();
if(BI.isNotNull(Date.timeZone)){
return dt.getTime() - Date.timeZone - dt.getTimezoneOffset() * 60000;
}else{
return dt.getTime();
}
};
/* /*
* 给jQuery.Event对象添加的工具方法 * 给jQuery.Event对象添加的工具方法
*/ */

9
src/core/proto/date.js

@ -568,3 +568,12 @@ Date.getDate = function () {
return dt; return dt;
} }
}; };
Date.getTime = function () {
var dt = Function.prototype.bind.apply(Date.getDate, BI.concat([null], [].slice.apply(arguments)))();
if(BI.isNotNull(Date.timeZone)){
return dt.getTime() - Date.timeZone - dt.getTimezoneOffset() * 60000;
}else{
return dt.getTime();
}
};

Loading…
Cancel
Save