Skip to content

Commit df6a976

Browse files
committed
fix error with double timezone shift in Calendar
1 parent 33027b5 commit df6a976

File tree

1 file changed

+1
-1
lines changed
  • packages/@mantine/dates/src/components/Month

1 file changed

+1
-1
lines changed

packages/@mantine/dates/src/components/Month/Month.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ export const Month = factory<MonthFactory>((_props, ref) => {
175175
const dates = getMonthDays({
176176
month,
177177
firstDayOfWeek: ctx.getFirstDayOfWeek(firstDayOfWeek),
178-
timezone: ctx.timezone || undefined,
179178
consistentWeeks: ctx.consistentWeeks,
180179
});
181180

@@ -243,6 +242,7 @@ export const Month = factory<MonthFactory>((_props, ref) => {
243242
}}
244243
onClick={(event) => {
245244
dayProps?.onClick?.(event);
245+
246246
__onDayClick?.(event, date);
247247
}}
248248
onMouseDown={(event) => {

0 commit comments

Comments
 (0)