summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2019-07-09 12:59:34 +1000
committerEvan Read <eread@gitlab.com>2019-07-09 12:59:34 +1000
commit68c41087595364b6f4b6f4284a2139d8fbcb0ebd (patch)
tree91d2e2b972a7b61c7118a155d5bca8898a8700f7
parent8a2c53d6400287bbb29056c4d007ee571b292937 (diff)
downloadgitlab-ce-docs/tidy-up-timezone-topic.tar.gz
Tidy up timezone topicdocs/tidy-up-timezone-topic
-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
```
-