Commit date show doesn't handle timezone settings
Created by: soullivaneuh
If you change timezone on application.rg (e.g. 'Europe/Paris'), time showing are changed except to the commit list.
Every commit just show date and time based on Git repositories information which set his own timezone.
A dirty fix would be on app/views/projects/commits/_commit.haml
:
#{time_ago_with_tooltip(commit.committed_date.getutc.in_time_zone('Europe/Paris'))}
Replace Europe/Paris
by the config TimeZone.
I think it would be the same for every date coming from git repositories data.
How can we do a proper fix ?