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 authored Nov 16, 2020
1 parent 980805c commit c747e6b
Showing 1 changed file with 1 addition and 1 deletion.
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 c747e6b

Please sign in to comment.