@northlight/ui 2.27.3 → 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.
@@ -6473,7 +6473,7 @@ const getWeekNumberAtStartOfMonth = (year, month, weekDay) => {
6473
6473
  30,
6474
6474
  31
6475
6475
  ];
6476
- const totalDaysUntilMonth = daysInMonths.slice(1, month).reduce(add, 0);
6476
+ const totalDaysUntilMonth = daysInMonths.slice(1, month).reduce(add, 1);
6477
6477
  const weekNumber = Math.ceil(totalDaysUntilMonth / 7);
6478
6478
  return weekNumber;
6479
6479
  };