@syncfusion/ej2-schedule 19.3.53 → 19.3.55

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.
@@ -3576,8 +3576,8 @@ function weeklyType(startDate, endDate, data, ruleObject) {
3576
3576
  var weekstartDate = addDays(tempDate, -startDateDiff);
3577
3577
  var weekendDate = addDays(weekstartDate, 6);
3578
3578
  var compareTempDate = new Date(tempDate.getTime());
3579
- resetTime(weekendDate);
3580
- resetTime(compareTempDate);
3579
+ weekendDate = resetTime(weekendDate);
3580
+ compareTempDate = resetTime(compareTempDate);
3581
3581
  while (weekendDate >= compareTempDate) {
3582
3582
  if (expectedDays.indexOf(DAYINDEX[tempDate.getDay()]) > -1) {
3583
3583
  weekCollection.push([tempDate.getTime()]);
@@ -3587,7 +3587,7 @@ function weeklyType(startDate, endDate, data, ruleObject) {
3587
3587
  }
3588
3588
  tempDate.setDate(tempDate.getDate() + 1);
3589
3589
  compareTempDate = new Date(tempDate.getTime());
3590
- resetTime(compareTempDate);
3590
+ compareTempDate = resetTime(compareTempDate);
3591
3591
  }
3592
3592
  tempDate.setDate(tempDate.getDate() - 1);
3593
3593
  if (expectedCount && (data.length + ruleObject.recExceptionCount) >= expectedCount) {