iptdevs-design-system 2.7.114 → 2.7.115
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.
|
@@ -3475,8 +3475,7 @@ class CalculateQuotesService {
|
|
|
3475
3475
|
let oneDayMilis = 1000 * 3600 * 24;
|
|
3476
3476
|
let plusMonthDate = new Date(originDate.getFullYear(), originDate.getMonth() + 1, originDate.getDate());
|
|
3477
3477
|
while (plusMonthDate.getDay() === 0) {
|
|
3478
|
-
|
|
3479
|
-
plusMonthDate = new Date(iterationDate);
|
|
3478
|
+
plusMonthDate.setMilliseconds(originDate.getMilliseconds() + oneDayMilis);
|
|
3480
3479
|
}
|
|
3481
3480
|
return plusMonthDate;
|
|
3482
3481
|
}
|