Skip to content

Commit 496d586

Browse files
committed
week_start setting
1 parent 0954355 commit 496d586

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

docs/control-panel/settings/general.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ Specify the default timezone for your site. All dates and times displayed by Exp
5353

5454
Specify the default date format for your site, and whether your site should display times in a 24-hour format or a 12-hour format with AM and PM. This is the format the Control Panel uses for displaying dates and for date input.
5555

56+
### Week start
57+
The day on which the new week starts. This will be used when displaying calendars
58+
5659
### Show seconds?
5760

5861
Specify whether your site should display seconds in times.

docs/development/models/member.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ lang: php
7474
- `timezone`
7575
- `time_format`
7676
- `date_format`
77+
- `week_start`
7778
- `include_seconds`
7879
- `profile_theme`
7980
- `forum_theme`

docs/general/system-configuration-overrides.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3222,6 +3222,21 @@ Example Usage:
32223222

32233223
**Also found in CP:** `Settings --> Security & Privacy`: [Website Session Type](control-panel/settings/security-privacy.md#website-session-type)
32243224

3225+
### `week_start`
3226+
3227+
Set the day on which the new week starts. If [allow_member_localization](#allow_member_localization) is enabled and a member has their own localization preference set, that will override this setting.
3228+
3229+
| Value | Description |
3230+
| -------- | ---------------- |
3231+
| friday | Friday |
3232+
| saturday | Saturday |
3233+
| sunday | Sunday (default) |
3234+
| monday | Monday |
3235+
3236+
Example Usage:
3237+
3238+
$config['week_start'] = 'monday';
3239+
32253240
### `word_separator`
32263241

32273242
Specify the character the system will use to replace spaces when auto-generating a URL title based on the entry's title.

0 commit comments

Comments
 (0)