iptdevs-design-system 2.7.63 → 2.7.64

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.
@@ -3384,7 +3384,9 @@ class CalculateQuotesService {
3384
3384
  return plusMonthDate;
3385
3385
  }
3386
3386
  getStringDate(originDate) {
3387
- return originDate.getFullYear() + ' - ' + (originDate.getMonth() + 1) + ' - ' + originDate.getDate();
3387
+ let month = originDate.getMonth() + 1;
3388
+ let stringMonth = month < 10 ? '0' + month : month;
3389
+ return originDate.getFullYear() + '-' + stringMonth + '-' + originDate.getDate();
3388
3390
  }
3389
3391
  }
3390
3392
  CalculateQuotesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: CalculateQuotesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
@@ -3796,6 +3798,8 @@ class CodFormComponent {
3796
3798
  saveFinancingData(data) {
3797
3799
  if (data) {
3798
3800
  const dates = [];
3801
+ console.log('-----');
3802
+ console.log(data);
3799
3803
  data.forEach(p => {
3800
3804
  const date = p[2].split(',')[1];
3801
3805
  const formattedDate = new Date(date);