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.
This is an awesome post. Really very informative and creative contents. This concept is a good way to enhance the knowledge. I like it and help me to development very well. Thank you for this brief explanation and very nice information. Well, got a good knowledge. Primavera P6 Certification Training in Chennai | Primavera Training in India
ReplyDelete