diff --git a/src/VueDatePicker/components/DatePicker/date-picker.ts b/src/VueDatePicker/components/DatePicker/date-picker.ts index 3739faa73..b432c40b1 100644 --- a/src/VueDatePicker/components/DatePicker/date-picker.ts +++ b/src/VueDatePicker/components/DatePicker/date-picker.ts @@ -280,7 +280,9 @@ export const useDatePicker = ( // Check if the calendar day has a marker const getMarker = (date: UnwrapRef): IMarker | undefined => - props.markers.find((marker) => isDateEqual(sanitizeDate(date.value), sanitizeDate(marker.date))); + props.markers.find((marker) => + isDateEqual(sanitizeDate(date.value), getZonedDate(getDate(marker.date), props.timezone)), + ); const getSixWeeksMode = (firstWeekday: number, gapToEnd: number) => { switch (props.sixWeeks === true ? 'append' : props.sixWeeks) {