Skip to content

Fix short timeago

username-removed-408881 requested to merge fix-short-timeago into master

What does this MR do?

Refactors previous implementation of gl.utils.shortTimeAgo

Are there points in the code the reviewer needs to double check?

Reverts https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5225 with a better approach.

Why was this MR needed?

The previous implementation was working fine but the date was being updated every minute with the short format not being kept. This MR fixes that

What are the relevant issue numbers?

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

Screenshots (if relevant)

Screen_Shot_2016-08-08_at_8.14.56_PM

Does this MR meet the acceptance criteria?

Merge request reports