The locale of "updated" is wrong, if the repo is updated by a user using other custom language

Summary

The locale of "updated" is wrong, if the repo is updated by a user using custom language

Steps to reproduce

Having somebody with the chinese locale set push to a project and visit the dashboard afterwards, should appear broken for other members of organization

Example Project

https://gitlab.com/ipzn/ipzn

What is the current bug behavior?

Local of "Updated" is the local locale of the user who pushed

What is the expected correct behavior?

Locale should

Relevant logs and/or screenshots

image

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Possible fixes

It seems to be somewhere in the template caching mechanism. Possibly add the locale of the user to the hash function for generating the cached filename?

Assignee Loading
Time tracking Loading