MR accepted timestamps are showing different times

Summary

In the MR page, when hovering over the time ago tooltip, it is showing different times depending on where it is used. On the MR state widget it shows localized time, while on the comment of the discussion it shows UTC. Please find attached two screenshots to clarify what I mean.

Steps to reproduce

Create and merge an MR

Example Project

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17548

What is the current bug behavior?

Times shown are different

What is the expected correct behavior?

Times should be the same

Relevant logs and/or screenshots

image__4_

image__5_

Output of checks

(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)

Results of GitLab environment info

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

ZD https://gitlab.zendesk.com/agent/tickets/91605