Show user contributions in correct timezone within user profile

This commit is contained in:
Kushal Pandya 2018-11-28 17:43:34 +00:00 committed by Rémy Coutable
parent f912e3b1b2
commit 8183c919a8
2 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,7 @@
%li
%span.light
%i.fa.fa-clock-o
= event.created_at.strftime('%-I:%M%P')
= event.created_at.to_time.in_time_zone.strftime('%-I:%M%P')
- if event.visible_to_user?(current_user)
- if event.push?
#{event.action_name} #{event.ref_type}

View File

@ -0,0 +1,5 @@
---
title: Show user contributions in correct timezone within user profile
merge_request: 23419
author:
type: changed