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) {
return new Date(
date.getUTCFullYear(),
date.getUTCMonth(),
date.getUTCDate(),
date.getUTCHours(),
date.getUTCMinutes(),
date.getUTCSeconds(),
date.getUTCMilliseconds()
date.getFullYear(),
date.getMonth(),
date.getDate(),
date.getHours(),
date.getMinutes(),
date.getSeconds(),
date.getMilliseconds()
);
};

Loading…
Cancel
Save