I am having a little bit of an issue trying to find where to change the GitLab timezone for my profile through the web UI.
Looking at some other posts and documentation which mentioned there was an option between Public email
and Preferred language
, this option I am unable to find under my profile settings.
Hopefully someone else has experienced the same issue, and found a solution to this, that could help point me in the right direction
If this is not exposed by the GitLab UI, you would need to modify the GitLab configuration itself (config/gitlab.rb
, or for Omnibus: /etc/gitlab/gitlab.rb
).
See "Changing your time zone "
The global time zone configuration parameter can be changed in
config/gitlab.yml
:# time_zone: 'UTC'
Uncomment and customize if you want to change the default time zone of GitLab application.
To see all available time zones, run
bundle exec rake time:zones:all
.With Omnibus installations, run:
gitlab-rake time:zones:all` # edit the timezone gitlab-ctl reconfigure gitlab-ctl restart
Note: since Sep. 2018, this has evolved:
See GitLab 14.2 (August 2021)
Display local time on user’s profile
Local time is now displayed on user profiles.
In previous releases, you could set the timezone but it was not visible throughout GitLab. This improvement is extremely helpful for distributed teams to help others know when others are likely to be available.
See Documentation and Issue.
GitLab does not currently support specifying the timezone per-user. It is a global configuration for the entire GitLab server.
There was a merge request to add it (from July 2015), but it doesn't seem to have been accepted.
There was a similar question about this to the @gitlab Twitter account. The reply was:
No, the timezone settings are instance wide.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With