diff options
-rw-r--r-- | doc/workflow/README.md | 3 | ||||
-rw-r--r-- | doc/workflow/timezone.md | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/doc/workflow/README.md b/doc/workflow/README.md index 7e996dc47d4..b90a6a50af9 100644 --- a/doc/workflow/README.md +++ b/doc/workflow/README.md @@ -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) -- [Web Editor](web_editor.md) +- [Change your time zone](timezone.md) +- [Web Editor](web_editor.md)
\ No newline at end of file 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 |