@syncfusion/ej2-calendars 28.2.3 → 28.2.7

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.
@@ -14801,7 +14801,9 @@ var MaskedDateTime = /** @__PURE__ @class */ (function () {
14801
14801
  }
14802
14802
  else {
14803
14803
  this.isDayPart = false;
14804
- this.dayTypeCount = this.isDateZero ? this.dayTypeCount + 1 : this.dayTypeCount;
14804
+ if (!(this.dayTypeCount === 1 && this.isDateZero)) {
14805
+ this.dayTypeCount += this.isDateZero ? 1 : 0;
14806
+ }
14805
14807
  }
14806
14808
  break;
14807
14809
  }
@@ -14855,7 +14857,9 @@ var MaskedDateTime = /** @__PURE__ @class */ (function () {
14855
14857
  newDateValue.setMonth(0);
14856
14858
  this.isLeadingZero = true;
14857
14859
  this.isMonthPart = false;
14858
- this.monthTypeCount = this.isMonthZero ? this.monthTypeCount + 1 : this.monthTypeCount;
14860
+ if (!(this.monthTypeCount === 1 && this.isMonthZero)) {
14861
+ this.monthTypeCount += this.isMonthZero ? 1 : 0;
14862
+ }
14859
14863
  }
14860
14864
  }
14861
14865
  else {