Commit 906f958f authored by Job van der Voort's avatar Job van der Voort

Merge branch 'timezones' into 'master'

Changing your time zone

Added doc and link in workflow to how to change your time zone in Gitlab.

I used the following documents as reference. Please double check that the instructions I wrote are correct.
http://www.borngeek.com/2015/02/27/setting-the-time-zone-in-gitlab/
https://gitlab.com/gitlab-org/gitlab-ce/issues/443

I found that several users have this same issue, that they don't know how to change their time zone:
https://github.com/gitlabhq/gitlabhq/issues/5555
https://gitlab.com/gitlab-org/omnibus-gitlab/issues/347
https://gitlab.com/gitlab-org/gitlab-ce/issues/56
http://jonathonreinhart.blogspot.com/2014/10/gitlab-time-zone-issues.html
http://stackoverflow.com/questions/5073917/why-doesnt-config-time-zone-seem-to-do-anything

See merge request !1827
parents 3a3f4b41 1132b3e8
......@@ -12,4 +12,5 @@
- [Project importing from GitHub to GitLab](import_projects_from_github.md)
- [Project importing from GitLab.com to your private GitLab instance](import_projects_from_gitlab_com.md)
- [Protected branches](protected_branches.md)
- [Change your time zone](timezone.md)
- [Web Editor](web_editor.md)
\ No newline at end of file
# 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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment