Skip to content

Commit

Permalink
Move calendar weeks to start on Mondays. (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
godwinpang committed Mar 13, 2021
1 parent e0dd10c commit 660c46f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/CalendarPage/components/Calendar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ AppointmentWithClick.propTypes = {

export default function Calendar({ events, handleEventClick }) {
return (
<Scheduler data={events}>
<Scheduler data={events} firstDayOfWeek={1}>
<ViewState defaultCurrentViewName='Week' />
<DayView cellDuration={60} startDayHour={9} endDayHour={22} />
<WeekView cellDuration={60} startDayHour={9} endDayHour={22} />
Expand Down

0 comments on commit 660c46f

Please sign in to comment.