search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Daypilot - change start day of the week

Asked by AnonymousPilot
2 years ago.

Hello,
in my daypilot project the week starts from sunday to saturday (with these rightly obscured)
How can I make sure that the week starts from Monday instead of Sunday?

Answer posted by Dan Letecky [DayPilot]
2 years ago.

The first day of week is determined by the Calendar locale. The default locale is "en-us" which uses Sunday as the first day of week.

You can switch to one of the predefined locales (https://api.daypilot.org/daypilot-locale-class/) or create your own locale (https://api.daypilot.org/daypilot-locale-register/) and set it using "locale" property (https://api.daypilot.org/daypilot-calendar-locale/).

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.