# Setting the Month View component to start on Monday instead of Sunday regardless of locale

**URL:** <https://forum.inductiveautomation.com/t/setting-the-month-view-component-to-start-on-monday-instead-of-sunday-regardless-of-locale/89874>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [May 3, 2024, 7:16am UTC](https://forum.inductiveautomation.com/t/setting-the-month-view-component-to-start-on-monday-instead-of-sunday-regardless-of-locale/89874 "2024-05-03T07:16:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [May 3, 2024, 7:16am UTC](https://forum.inductiveautomation.com/t/setting-the-month-view-component-to-start-on-monday-instead-of-sunday-regardless-of-locale/89874/1 "2024-05-03T07:16:56Z")

</div>

I didn't see a solution to this in the forum or the manual, but I had a request to make the starting day of the week optional regardless of locale on a month view component. In case anybody else needs this information, here is the simplest way I found to change the starting day without having to globally mess with the locale:

```python
monthView = # Relative path to month view

# Get the gregorian calender from the month view and set the first day of the week to Monday
monthView.cal.firstDayOfWeek = monthView.cal.MONDAY # or monthView.cal.SUNDAY

# Trigger a graphics configuration event to repaint the calendar
monthView.initialize()

```

I'm not sure how this could be done with the other calendar components because I haven't looked into it, but if anybody wants to post that information here, I imagine it would be useful.

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [August 19, 2024, 5:56am UTC](https://forum.inductiveautomation.com/t/setting-the-month-view-component-to-start-on-monday-instead-of-sunday-regardless-of-locale/89874/2 "2024-08-19T05:56:53Z")

</div>

I just tried on 'WeekView' component and it works also.
