summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2019-07-09 08:26:23 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2019-07-09 08:26:23 +0000
commit9d079194652b94c7cf9d94b4c757ffa1fcdfbcf1 (patch)
tree2977574b8e9e2e33c20e0d6255cd5404e43c5991
parentdd9b303fbca80fef26526c5d8a3d58a6227edc25 (diff)
parent1be94ee5b3082e01b8792d0f628615a700206977 (diff)
downloadgitlab-ce-9d079194652b94c7cf9d94b4c757ffa1fcdfbcf1.tar.gz
Merge branch 'docs/tidy-up-timezone-topic' into 'master'
Tidy up timezone topic Closes #62058 See merge request gitlab-org/gitlab-ce!30495
-rw-r--r--doc/workflow/timezone.md8
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/workflow/timezone.md b/doc/workflow/timezone.md
index da51c0f2c93..60a4d0f19de 100644
--- a/doc/workflow/timezone.md
+++ b/doc/workflow/timezone.md
@@ -2,13 +2,12 @@
The global time zone configuration parameter can be changed in `config/gitlab.yml`:
-```
+```text
# time_zone: 'UTC'
```
Uncomment and customize if you want to change the default time zone of the GitLab application.
-
## Viewing available timezones
To see all available time zones, run `bundle exec rake time:zones:all`.
@@ -26,14 +25,13 @@ To obtain a list of timezones, log in to your GitLab application server and run
To update, add the timezone that best applies to your location. For example:
-```
+```ruby
gitlab_rails['time_zone'] = 'America/New_York'
```
After adding the configuration parameter, reconfigure and restart your GitLab instance:
-```
+```sh
gitlab-ctl reconfigure
gitlab-ctl restart
```
-