Commit a704f9e5 authored by Phil Hughes's avatar Phil Hughes

Merge branch 'restore-timeago-translation' into 'master'

Restore timeago translations in renderTimeago.

See merge request !12590
parents a9847ede 4c20ee71
......@@ -116,7 +116,7 @@ window.dateFormat = dateFormat;
const timeagoEls = $els || document.querySelectorAll('.js-timeago-render');
// timeago.js sets timeouts internally for each timeago value to be updated in real time
gl.utils.getTimeago().render(timeagoEls);
gl.utils.getTimeago().render(timeagoEls, lang);
};
w.gl.utils.getDayDifference = function(a, b) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment