The weekStarts property (number | "Auto") specifies the first day of week in the JavaScript Monthly Calendar component.
DayPilot.Month.weekStarts"Auto" - determines the first day of week using the current DayPilot.Month.locale.
number - day of week number (0 = Sunday, 1 = Monday, 2 = Tuesday, 3 = Wednesday, 4 = Thursday, 5 = Friday, 6 = Saturday).
"Auto"JavaScript
const dp = new DayPilot.Month("dp", {
weekStarts: 1,
// ...
});
dp.init();Angular
<daypilot-month [config]="config"></daypilot-month>config: DayPilot.MonthConfig = {
weekStarts: 1,
// ...
};React
<DayPilotMonth
weekStarts={1}
{/* ... */}
/>Vue
<DayPilotMonth
:weekStarts="1"
<!-- ... -->
/>First Day of Week [doc.daypilot.org]