GitLab stores commits in UTC instead of local time
Problem to Solve
Commits generated from GitLab are all stored at with UTC instead of the users local time. This makes it hard to understand the time commits took place without additionally configuring individual clients to convert time zones.
Additional Details
- Pull repository to local
- Run
git log
to check merge history, the date of merge is UTC format.
Customer know that we can use git config --global log.date local
to set it as local time, but some of their users don't know, they hope to set this configuration in server side.
Proposal
Store the configured timezone in the commit, rather than unconditionally storing commits in UTC
Edited by Kai Armstrong