# 個人設定でカレンダーの開始日を設定する

**URL:** https://meta.discourse.org/t/set-calendar-start-day-in-personal-preferences/91473
**Category:** Feature
**Created:** [2018 年 7 月 3 日午後 12:34 UTC](https://meta.discourse.org/t/set-calendar-start-day-in-personal-preferences/91473 "2018-07-03T12:34:17Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [2018 年 7 月 3 日午後 12:34 UTC](https://meta.discourse.org/t/set-calendar-start-day-in-personal-preferences/91473/1 "2018-07-03T12:34:17Z")

</div>

Continuing the discussion from [Discourse-chronos 🌐 ⏲](https://meta.discourse.org/t/discourse-chronos/69281):

I recently set the wrong date when I blindly selected what I thought was Wednesday and Thursday, not realizing the calendar’s week started with Sunday.

How about a personal preference setting for this, like most digital calendars have?

Alternatively just start with Monday because logic 😝🤙

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2018 年 7 月 3 日午後 7:35 UTC](https://meta.discourse.org/t/set-calendar-start-day-in-personal-preferences/91473/2 "2018-07-03T19:35:47Z")

</div>

I have no idea what is more common here as far as days of the week to start with on the far left, but presumably the actual numbers on the days would have been a clear indicator of what date was selected?

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [2018 年 7 月 3 日午後 7:50 UTC](https://meta.discourse.org/t/set-calendar-start-day-in-personal-preferences/91473/3 "2018-07-03T19:50:17Z")

</div>

> [@erlend\_sh](#):
>
> not realizing the calendar’s week started with Sunday.

Thanks for bringing this up. It happens to me all the time on US based apps. I then routinely contact support to ask them whether they would consider allowing users to select Monday as first day of the week. If they don’t and its an app where you dates are important I’ll sign off. It’s just too much to keep in mind when scheduling stuff.

> [@erlend\_sh](#):
>
> because logic

And international standard.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2018 年 7 月 3 日午後 7:55 UTC](https://meta.discourse.org/t/set-calendar-start-day-in-personal-preferences/91473/4 "2018-07-03T19:55:20Z")

</div>

If there is an international standard we should use that rather than adding Yet Another Preference.

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [2018 年 7 月 3 日午後 8:13 UTC](https://meta.discourse.org/t/set-calendar-start-day-in-personal-preferences/91473/5 "2018-07-03T20:13:08Z")

</div>

ISO 8601

> **[ISO week date](https://en.wikipedia.org/wiki/ISO_week_date)**
>
> The ISO week date system is effectively a leap week calendar system that is part of the ISO 8601 date and time standard issued by the International Organization for Standardization (ISO) since 1988 (last revised in 2019) and, before that, it was defined in ISO (R) 2015 since 1971. It is used (mainly) in government and business for fiscal years, as well as in timekeeping. This was previously known as "Industrial date coding". The system specifies a week year atop the Gregorian calendar by defini...

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [2018 年 7 月 3 日午後 10:34 UTC](https://meta.discourse.org/t/set-calendar-start-day-in-personal-preferences/91473/6 "2018-07-03T22:34:09Z")

</div>

Being 'murican I’m used to calendars having Sunday as the leftmost column. But I’m not sure rearranging columns is the only approach. I have seen calendars where the weekend days had a slightly different background color even when Sunday was leftmost and Saturday was rightmost. Would that not be enough of a visual cue for those accustomed to having Monday as the leftmost column?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2018 年 7 月 3 日午後 10:48 UTC](https://meta.discourse.org/t/set-calendar-start-day-in-personal-preferences/91473/7 "2018-07-03T22:48:03Z")

</div>

I would go with Monday and follow the standard instead of adding a setting too.

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [2018 年 7 月 4 日午後 12:16 UTC](https://meta.discourse.org/t/set-calendar-start-day-in-personal-preferences/91473/12 "2018-07-04T12:16:18Z")

</div>

> [@Mittineague](#):
>
> slightly different background color even when Sunday was leftmost and Saturday was rightmost

In my experience that doesn’t work. I guess either your blindly doing routine work and then those shaded backgrounds wont change your state of consciousness or you’re alert and then you’ll notice anyway.

> [@j.jaffeux](#):
>
> go with Monday and follow the standard

I’m all for following international standards but will this not simply reverse the problem? Or are “'muricans” more flexible than the rest of the world when it comes to calendars? Perhaps you’re used to switching between formats? In that case, I guess it’s fine to follow the standard.

But when it comes to date formatting more generally, I suppose you’ll be more reluctant to switch to international standard for the en locale, right?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2018 年 7 月 4 日午後 12:56 UTC](https://meta.discourse.org/t/set-calendar-start-day-in-personal-preferences/91473/13 "2018-07-04T12:56:44Z")

</div>

I’m not 100% for forcing anything but if we don’t have a setting and can’t fully rely on locale detection which is the root issue here (erlend uses english but doesn’t expect american date format), then, I would follow the standard.

---

<div class="post-metadata">

### Author: ![dan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dan/32/101549_2.png) [@dan](https://meta.discourse.org/u/dan)
#### Post date: [2018 年 7 月 21 日午後 7:46 UTC](https://meta.discourse.org/t/set-calendar-start-day-in-personal-preferences/91473/14 "2018-07-21T19:46:22Z")

</div>

Hi @erlend_sh,

I noticed that Monday is already the start day for Pikaday (library used for calendar widgets). Could you tell me in which part of Discourse have you encountered Sunday as a first day?

Anyway, I started working on this and already submitted a PR for it [here](https://github.com/discourse/discourse/pull/6139).

 ![09](https://global.discourse-cdn.com/meta/original/3X/e/5/e5a4e9a422500d1f1bff43029ef20b7191ca0f76.png) ![43](https://global.discourse-cdn.com/meta/original/3X/e/d/edefa4d30b282632d0da2bf284272b96d16c81f2.png)

Currently, you can actually choose any day of the week as a first day, which is silly, but I will change that as soon as I am sure that all relevant places have been touched.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [2018 年 7 月 22 日午前 6:01 UTC](https://meta.discourse.org/t/set-calendar-start-day-in-personal-preferences/91473/15 "2018-07-22T06:01:39Z")

</div>

> [@dan](#):
>
> Could you tell me in which part of Discourse have you encountered Sunday as a first day?

I was referring to our “Insert date” feature in the editor.

Thanks for the PR! Keep in mind it’s still unclear whether we want to allow this as a personal setting as opposed to just sticking with the most prevalent standard.

I’m in favor of the latter. The setting could be extracted to a very trivial plugin suitable for niche communities where this granularity is somehow important.

---

<div class="post-metadata">

### Author: ![dan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dan/32/101549_2.png) [@dan](https://meta.discourse.org/u/dan)
#### Post date: [2018 年 7 月 22 日午前 8:28 UTC](https://meta.discourse.org/t/set-calendar-start-day-in-personal-preferences/91473/16 "2018-07-22T08:28:03Z")

</div>

Oh, okay. For me the starting date is Monday and I found it weird that it was not Sunday, but then I noticed that @j.jaffeux has made a [commit](https://github.com/discourse/discourse/commit/1ed4f0ee8a31bdc6a90b1fc01acf04ee819c38c6) changing that.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2018 年 7 月 23 日午前 2:53 UTC](https://meta.discourse.org/t/set-calendar-start-day-in-personal-preferences/91473/19 "2018-07-23T02:53:25Z")

</div>

Oh … so this is all done now? I am so sorry, going to close that PR, I just feel that adding a user setting here is just way too big for the benefit we get.

---

<div class="post-metadata">

### Author: ![dan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dan/32/101549_2.png) [@dan](https://meta.discourse.org/u/dan)
#### Post date: [2018 年 7 月 23 日午後 6:10 UTC](https://meta.discourse.org/t/set-calendar-start-day-in-personal-preferences/91473/20 "2018-07-23T18:10:09Z")

</div>

> [@sam](#):
>
> Oh … so this is all done now? I am so sorry, going to close that PR, I just feel that adding a user setting here is just way too big for the benefit we get.

Don’t worry, Sam. At least now if anyone needs it, they can apply the patch themselves. 🙂

---

<div class="post-metadata">

### Author: ![boospy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/boospy/32/282567_2.png) [@boospy](https://meta.discourse.org/u/boospy)
#### Post date: [2023 年 1 月 16 日午後 10:19 UTC](https://meta.discourse.org/t/set-calendar-start-day-in-personal-preferences/91473/21 "2023-01-16T22:19:15Z")

</div>

こんにちは皆さん 🙂

実際のディスコースバージョンでは、この設定が見つかりません。移動されましたか？週の始まりを月曜日に設定したかったのです。

---

<div class="post-metadata">

### Author: ![josy38](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@josy38](https://meta.discourse.org/u/josy38)
#### Post date: [2023 年 3 月 20 日午前 11:27 UTC](https://meta.discourse.org/t/set-calendar-start-day-in-personal-preferences/91473/22 "2023-03-20T11:27:53Z")

</div>

こんにちは  
同じ問題を抱えています。週の始まりを月曜日に設定するにはどうすればよいですか？
