diff options
author | haghighi_ahmad <haghighi.ahmad@gmail.com> | 2019-02-24 08:42:22 +0300 |
---|---|---|
committer | haghighi_ahmad <haghighi.ahmad@gmail.com> | 2019-03-04 07:22:15 +0300 |
commit | cf4bbd4fe18222234e21c9bc4a12ea195a4bd11d (patch) | |
tree | 81d5a4a79efc4711d03251f9445b0fcf7b5e32c8 /doc/api | |
parent | 7f3a103006d941cac14fec37ab6159de7055fde7 (diff) |
Add Saturday to first day of the week
fix #58023
docs for adding Saturday for first day of the week
add related settings for Saturday as first day of the week
firstDayOfWeek: Use enumeration, replace day's numbers with corresponding names
make some variables lowercase (follow camelCase)
add CHANGELOG entry
Author: haghighi_ahmad <haghighi.ahmad@gmail.com>
modified: app/assets/javascripts/pages/users/activity_calendar.js
modified: app/helpers/preferences_helper.rb
new file: changelogs/unreleased/58023-add-Saturday-to-localization-first-day-of-the-week.yml
modified: doc/api/settings.md
modified: doc/user/profile/preferences.md
modified: locale/gitlab.pot
modified: spec/helpers/preferences_helper_spec.rb
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/settings.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/settings.md b/doc/api/settings.md index 2e0a2a09133..c2a1f7feefd 100644 --- a/doc/api/settings.md +++ b/doc/api/settings.md @@ -161,7 +161,7 @@ are listed in the descriptions of the relevant settings. | `email_author_in_body` | boolean | no | Some email servers do not support overriding the email sender name. Enable this option to include the name of the author of the issue, merge request or comment in the email body instead. | | `enabled_git_access_protocol` | string | no | Enabled protocols for Git access. Allowed values are: `ssh`, `http`, and `nil` to allow both protocols. | | `enforce_terms` | boolean | no | (**If enabled, requires:** `terms`) Enforce application ToS to all users. | -| `first_day_of_week` | integer | no | Start day of the week for calendar views and date pickers. Valid values are `0` (default) for Sunday and `1` for Monday. | +| `first_day_of_week` | integer | no | Start day of the week for calendar views and date pickers. Valid values are `0` (default) for Sunday, `1` for Monday, and `6` for Saturday. | | `gitaly_timeout_default` | integer | no | Default Gitaly timeout, in seconds. This timeout is not enforced for git fetch/push operations or Sidekiq jobs. Set to `0` to disable timeouts. | | `gitaly_timeout_fast` | integer | no | Gitaly fast operation timeout, in seconds. Some Gitaly operations are expected to be fast. If they exceed this threshold, there may be a problem with a storage shard and 'failing fast' can help maintain the stability of the GitLab instance. Set to `0` to disable timeouts. | | `gitaly_timeout_medium` | integer | no | Medium Gitaly timeout, in seconds. This should be a value between the Fast and the Default timeout. Set to `0` to disable timeouts. | |