@datarailsshared/datarailsshared 1.4.289 → 1.4.292

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.
@@ -541,7 +541,7 @@
541
541
  }
542
542
  }
543
543
  dateValueResult = date.getTime() / 1000;
544
- var initDate = moment$8.unix(this.initDateValue);
544
+ var initDate = moment$8.unix(this.dateObj.date).set('month', month);
545
545
  var fiscal_year = this.getFiscalYearFromDate(initDate, fiscal_year_starts_from, fiscal_year_back);
546
546
  this.updateYear(fiscal_year, date.getMonth());
547
547
  this.isDateEventHappened = true;