dt-design-system
Advanced tools
Comparing version 3.9.1 to 3.9.2
@@ -72,3 +72,3 @@ import * as Utils from "./utils"; | ||
const monthFirstDay = Utils.getMonthFirstDay(month, year); | ||
const daysFromPrevMonth = monthFirstDay === 0 ? 6 : monthFirstDay - 1; | ||
const daysFromPrevMonth = monthFirstDay === 0 ? 6 : Math.max(monthFirstDay - 1, 0); | ||
const daysFromNextMonth = CALENDAR_WEEKS * 7 - (daysFromPrevMonth + monthDays); | ||
@@ -75,0 +75,0 @@ const { month: prevMonth, year: prevMonthYear } = Utils.getPreviousMonth(month, year); |
{ | ||
"name": "dt-design-system", | ||
"version": "3.9.1", | ||
"version": "3.9.2", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
787256
116