My configuraion look like this
timeline: {
type: 'week'
resourceReorder: false,
virtualScroll: true,
lazyLoading: true,
lazyLoadingDelay: 200,
eventOverlap: false,
startDay: 1,
endDay: 0,
}
When i create a event on the last day of the week (9th Nov). I have set the selected date to 9th Nov. But the calendar navigates to 10th of Nov which is in new week view.
const selectedDate = useSchedularStore((state) => state.selectedDate);
const setSelectedDate = useSchedularStore((state) => state.setSelectedDate);
<Eventcalendar
data={validatedData}
resources={validatedResources}
view={calendarViewConfig}
selectedDate={selectedDate}
onSelectedDateChange={handleSelectedDateChange}
/>
Also the arguments of onSelectedDateChange gives the date according to what would happen according to startDay 0. Due to which i have to add one day manually
For eg
Here selected date is Sun Dec 21 2025 00:00:00 GMT+0545 (Nepal Time)
However the view is from
