iptdevs-design-system 2.7.118 → 2.7.119
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.
|
@@ -3481,7 +3481,7 @@ class CalculateQuotesService {
|
|
|
3481
3481
|
setPlusOneMonth(originDate, isEndMonth) {
|
|
3482
3482
|
let response = [];
|
|
3483
3483
|
let oneDayMilis = 1000 * 3600 * 24;
|
|
3484
|
-
let day = isEndMonth || (originDate.getMonth() === 1 && originDate.getDate() > 28) ? this.monthsDays[originDate.getMonth()] : originDate.getDate();
|
|
3484
|
+
let day = isEndMonth || (originDate.getMonth() === 1 && originDate.getDate() > 28) ? this.monthsDays[originDate.getMonth() + 1] : originDate.getDate();
|
|
3485
3485
|
let plusMonthDate = new Date(originDate.getFullYear(), originDate.getMonth() + 1, day);
|
|
3486
3486
|
let initialDate = new Date(originDate.getFullYear(), originDate.getMonth() + 1, day);
|
|
3487
3487
|
response.push(initialDate);
|