@northlight/ui 2.27.2 → 2.27.4
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/dist/es/northlight.d.ts +3 -4
- package/dist/es/northlight.js +1 -1
- package/dist/es/northlight.js.map +1 -1
- package/dist/umd/northlight.cjs +1 -1
- package/dist/umd/northlight.cjs.map +1 -1
- package/dist/umd/northlight.min.cjs +1 -1
- package/dist/umd/northlight.min.cjs.map +1 -1
- package/package.json +2 -2
package/dist/umd/northlight.cjs
CHANGED
|
@@ -6436,7 +6436,7 @@
|
|
|
6436
6436
|
30,
|
|
6437
6437
|
31
|
|
6438
6438
|
];
|
|
6439
|
-
const totalDaysUntilMonth = daysInMonths.slice(1, month).reduce(ramda.add,
|
|
6439
|
+
const totalDaysUntilMonth = daysInMonths.slice(1, month).reduce(ramda.add, 1);
|
|
6440
6440
|
const weekNumber = Math.ceil(totalDaysUntilMonth / 7);
|
|
6441
6441
|
return weekNumber;
|
|
6442
6442
|
};
|