Calendar default starting/ending day from Monday to Sunday in WEEK VIEW

I can set Start date to Monday by setting :
const viewSettings = {
timeline: {
type: ‘week’,
eventList: true,
startDay: 1,
endDay: 7

I want end day to be Sunday.
Below is the reference page that i am talking about.
[](http://Employee shift planning)

Hi @nabinkumarkhatiwada :wave:

The endDay: 7 is not a known or supported element since it starts from 0 as it’s mentioned in the docs: Set the last day of the view: Sunday is 0, Monday is 1, etc. -

So, the solution would be pretty simple, just use endDay: 0 which will set the last day of the week view to Sunday.