monkey-front-core 0.0.68 → 0.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/core/pipes/monkeyecx-format-date-timelapse.mjs +4 -4
- package/fesm2015/monkey-front-core.mjs +3 -3
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +3 -3
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.69.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.68.tgz +0 -0
|
@@ -247,9 +247,9 @@ class MonkeyEcxFormatDateTimelapsePipe {
|
|
|
247
247
|
console.log(moment$3);
|
|
248
248
|
if (!MonkeyEcxUtils.persistNullEmptyUndefined(date))
|
|
249
249
|
return '';
|
|
250
|
-
let stillUtc = moment$3.utc(date).toDate();
|
|
250
|
+
let stillUtc = moment$3.default.utc(date).toDate();
|
|
251
251
|
if (!useUtc)
|
|
252
|
-
stillUtc = moment$3(date).toDate();
|
|
252
|
+
stillUtc = moment$3.default(date).toDate();
|
|
253
253
|
if (date.toString().indexOf(':') <= -1) {
|
|
254
254
|
if (typeof date === 'string') {
|
|
255
255
|
stillUtc = date;
|
|
@@ -258,7 +258,7 @@ class MonkeyEcxFormatDateTimelapsePipe {
|
|
|
258
258
|
}
|
|
259
259
|
const formatFrom = `YYYY/MM/DD${showTime ? ` ${format}` : ''}`;
|
|
260
260
|
const formatTo = `DD/MM/YYYY${showTime ? ` ${format}` : ''}`;
|
|
261
|
-
return `${moment$3(stillUtc, formatFrom).format(formatTo)}`;
|
|
261
|
+
return `${moment$3.default(stillUtc, formatFrom).format(formatTo)}`;
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
264
|
MonkeyEcxFormatDateTimelapsePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFormatDateTimelapsePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|