@acorex/core 3.0.35 → 3.0.46

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.
@@ -539,7 +539,7 @@
539
539
  return moment(date).locale('fa').format('YYYY/M/D');
540
540
  };
541
541
  AXDateTime.prototype.convertStringToGregorian = function (date, format) {
542
- return new Date((moment.from(date, 'fa', 'YYYY/MM/DD').format('YYYY/MM/DD')));
542
+ return new Date(moment.from(date, 'fa', 'YYYY/MM/DD').format('YYYY/MM/DD'));
543
543
  };
544
544
  AXDateTime.prototype.add = function (unit, amount) {
545
545
  if (unit === void 0) { unit = 'day'; }