iptdevs-design-system 2.7.54 → 2.7.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.
@@ -3337,7 +3337,9 @@ class CalculateQuotesService {
3337
3337
  console.log(params.date);
3338
3338
  let dataFinancing = [];
3339
3339
  let index = 1; // Indicador de cant. de cuotas
3340
- let momentJs = moment(params.date).add(1, 'days');
3340
+ let dat = new Date(params.date);
3341
+ console.log(dat.getMonth + ' ' + dat.getDate + ' ' + dat.getFullYear);
3342
+ let momentJs = moment(dat.getMonth + ' ' + dat.getDate + ' ' + dat.getFullYear).add(1, 'days');
3341
3343
  console.log(momentJs);
3342
3344
  if (this.validateSunday(momentJs.toDate())) {
3343
3345
  Swal.fire({