Time elapsed from last commit is wrong in the specific language settings

Summary

The repository on the project displays the time of the commit when the file was last updated, as shown below.

However, when the user configures the language settings to the specific non-English language, it displays incorrect information.

Steps to reproduce

  1. Create a project
  2. Push several commits
  3. Wait for several minutes
  4. In the Preference page(https://gitlab.com/-/profile/preferences), change language settings to the specific language (for example, Japanese)

Example Project

https://gitlab.com/kkamiya_gl/608597

What is the current bug behavior?

"Last update" shows incorrect information

What is the expected correct behavior?

"Last update" shows correct information

Relevant logs and/or screenshots

image.png

image.png

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

This bug happens on GitLab.com

Possible fixes

Edited by Kosuke Kamiya