Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1be94ee5
Commit
1be94ee5
authored
Jul 09, 2019
by
Evan Read
Committed by
Achilleas Pipinellis
Jul 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tidy up timezone topic
parent
dd9b303f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
doc/workflow/timezone.md
doc/workflow/timezone.md
+3
-5
No files found.
doc/workflow/timezone.md
View file @
1be94ee5
...
@@ -2,13 +2,12 @@
...
@@ -2,13 +2,12 @@
The global time zone configuration parameter can be changed in
`config/gitlab.yml`
:
The global time zone configuration parameter can be changed in
`config/gitlab.yml`
:
```
```
text
# time_zone: 'UTC'
# time_zone: 'UTC'
```
```
Uncomment and customize if you want to change the default time zone of the GitLab application.
Uncomment and customize if you want to change the default time zone of the GitLab application.
## Viewing available timezones
## Viewing available timezones
To see all available time zones, run
`bundle exec rake time:zones:all`
.
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
...
@@ -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:
To update, add the timezone that best applies to your location. For example:
```
```
ruby
gitlab_rails
[
'time_zone'
]
=
'America/New_York'
gitlab_rails
[
'time_zone'
]
=
'America/New_York'
```
```
After adding the configuration parameter, reconfigure and restart your GitLab instance:
After adding the configuration parameter, reconfigure and restart your GitLab instance:
```
```
sh
gitlab-ctl reconfigure
gitlab-ctl reconfigure
gitlab-ctl restart
gitlab-ctl restart
```
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment