@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.
- package/bundles/norwegian-core-components.umd.js +1 -1
- package/bundles/norwegian-core-components.umd.js.map +1 -1
- package/esm2015/lib/core/services/date/date-helper.service.js +2 -2
- package/fesm2015/norwegian-core-components.js +1 -1
- package/fesm2015/norwegian-core-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -917,7 +917,7 @@
|
|
|
917
917
|
if (!date1 || !date2) {
|
|
918
918
|
return false;
|
|
919
919
|
}
|
|
920
|
-
return this.compare(date1, date2, false,
|
|
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));
|