# Zakelijke Week Dag

**URL:** <https://meta.discourse.org/t/business-week-day/167337>\
**Category:** Translations\
**Created:** [16 oktober 2020 om 05:26 UTC](https://meta.discourse.org/t/business-week-day/167337 "2020-10-16T05:26:24Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)\
**Post date:** [16 oktober 2020 om 08:27 UTC](https://meta.discourse.org/t/business-week-day/167337/4 "2020-10-16T08:27:32Z")

</div>

Not sure why I didn’t look into this properly when I did this; there is an easy way to get the beginning day of the week in moment.js:

```javascript
moment().startOf('week').day()

```

Since we already localize moment, this works great. Just tested it and with my site language set to Hebrew the start of week comes up as 0 (Sunday), whereas if I set it back to English it goes back to 1 (Monday). Should be fairly simple to get this running next week.

If we really wanted to we could have a site-level setting for “start day of week”, not sure if we would want something like that for calendar? Though this probably won’t be desirable when users can set their own locale.

---

_[View the full topic](https://meta.discourse.org/t/business-week-day/167337)._
