summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKaren Carias <karen@gitlab.com>2015-05-21 20:03:25 +0000
committerKaren Carias <karen@gitlab.com>2015-05-21 20:03:25 +0000
commit871c90c3d1bd02e0d4163afebe422f307e90c7c0 (patch)
treebc1693fb170362ae87f89d35afb41835b1cdc8f7 /doc
parent3a3f4b41e67485e62b2e37cc395f3407b30a7d9e (diff)
downloadgitlab-ce-871c90c3d1bd02e0d4163afebe422f307e90c7c0.tar.gz
Added instructions to change time zone in GitLab CE
Diffstat (limited to 'doc')
-rw-r--r--doc/workflow/timezone.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/workflow/timezone.md b/doc/workflow/timezone.md
new file mode 100644
index 00000000000..b513088dbc5
--- /dev/null
+++ b/doc/workflow/timezone.md
@@ -0,0 +1,18 @@
+# Changing your time zone
+
+GitLab defaults its time zone to UTC. It has a global timezone configuration parameter in config/application.rb.
+
+To update, add the time zone that best applies to your location. Here are two examples:
+```
+gitlab_rails['time_zone'] = 'America/New_York'
+```
+or
+```
+gitlab_rails['time_zone'] = 'Europe/Brussels'
+```
+
+After you added this field, reconfigure and restart:
+```
+gitlab-ctl reconfigure
+gitlab-ctl restart
+``` \ No newline at end of file