@q2devel/q2-storybook 1.0.154 → 1.0.155
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.
|
@@ -59,7 +59,7 @@ export default function FilterWhen({ isExpanded: initialExpanded = false, select
|
|
|
59
59
|
setCurrentDate(new Date(year, month + 1, 1));
|
|
60
60
|
};
|
|
61
61
|
const handleDateClick = (day) => {
|
|
62
|
-
const date = new Date(year, month, day);
|
|
62
|
+
const date = new Date(year, month + 1, day + 1);
|
|
63
63
|
setSelectedDate(date);
|
|
64
64
|
};
|
|
65
65
|
const isToday = (day) => {
|