Skip to content

Support translating date strings

We have no way to translate date strings (at least in the frontend) which causes dates to show incorrectly for people viewing GitLab in a language other than English.

The commit list is an example of this:

image

Proposal

Use the browsers native support for localizing dates: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat

Edited by James Ramsay (ex-GitLab)