Browse Source

fix toLocal function problem.

pull/4709/head
maliming 6 years ago
parent
commit
85f382da19
  1. 14
      npm/packs/core/src/abp.js

14
npm/packs/core/src/abp.js

@ -706,13 +706,13 @@ var abp = abp || {};
var toLocal = function (date) { var toLocal = function (date) {
return new Date( return new Date(
date.getUTCFullYear(), date.getFullYear(),
date.getUTCMonth(), date.getMonth(),
date.getUTCDate(), date.getDate(),
date.getUTCHours(), date.getHours(),
date.getUTCMinutes(), date.getMinutes(),
date.getUTCSeconds(), date.getSeconds(),
date.getUTCMilliseconds() date.getMilliseconds()
); );
}; };

Loading…
Cancel
Save