@norwegian/core-components 5.8.0 → 5.8.1

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.
@@ -917,7 +917,7 @@
917
917
  if (!date1 || !date2) {
918
918
  return false;
919
919
  }
920
- return this.compare(date1, date2, false, true, true) === DateCompare.equal;
920
+ return this.compare(date1, date2, false, false, false) === DateCompare.equal;
921
921
  };
922
922
  DateHelper.prototype.getUtcNumberOfMonthBetween = function (date1, date2) {
923
923
  return this.getNumberOfMonthBetween(this.date(date1), this.date(date2));