One frustrating thing I've found with GitLab however, is its handling of time zones.
Read:
- Wrong time on gitlab events #7049
- Allow user to select their timezone in profile
- Add timezone configuration to gitlab.yml
Apparently GitLab doesn't detect the user's timezone (or store it in their profile) and display times accordingly. Everything outside of the Git timestamps appears to be tracked in UTC.
To fix this for my local server, I edited
/opt/gitlab/embedded/service/gitlab-rails/config/application.rb
and specified
config.time_zone = 'Eastern Time (US & Canada)'
Update:
In version 7.5.0, this configuration option was moved to gitlab.yml
. Now you don't have to re-set this option after every upgrade. Instructions for how to set it for an Omnibus install (in /etc/gitlab/gitlab.rb
) are here.