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

Restore timeago translations in renderTimeago.

See merge request !12590
This commit is contained in:
Phil Hughes 2017-06-30 19:05:30 +00:00
commit a704f9e580
1 changed files with 1 additions and 1 deletions

View File

@ -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) {