@resolveio/client-lib-core 15.1.12 → 15.1.13

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.
@@ -8727,8 +8727,8 @@ class DateShortcutComponent extends BaseComponent {
8727
8727
  this.datesChanged.emit([this.startDateObj, this.endDateObj]);
8728
8728
  }
8729
8729
  else if (this.startDateObjForm && this.endDateObjForm) {
8730
- let startDate = moment(new Date(this.startDateObjForm.value['year'], this.startDateObj.value['month'] - 1, this.startDateObj.value['day'])).toDate();
8731
- let endDate = moment(new Date(this.endDateObj.value['year'], this.endDateObj.value['month'] - 1, this.endDateObj.value['day'])).toDate();
8730
+ let startDate = moment(new Date(this.startDateObjForm.value['year'], this.startDateObjForm.value['month'] - 1, this.startDateObjForm.value['day'])).toDate();
8731
+ let endDate = moment(new Date(this.endDateObjForm.value['year'], this.endDateObjForm.value['month'] - 1, this.endDateObjForm.value['day'])).toDate();
8732
8732
  if (this.shortcutValue === 'Q1') {
8733
8733
  startDate = moment().startOf('year').toDate();
8734
8734
  endDate = moment().startOf('year').quarter(2).subtract(1, 'days').toDate();