Commit 4c20ee71 authored by Bryce Johnson's avatar Bryce Johnson

Restore timeago translations in renderTimeago.

parent a6c02ce6
...@@ -116,7 +116,7 @@ window.dateFormat = dateFormat; ...@@ -116,7 +116,7 @@ window.dateFormat = dateFormat;
const timeagoEls = $els || document.querySelectorAll('.js-timeago-render'); const timeagoEls = $els || document.querySelectorAll('.js-timeago-render');
// timeago.js sets timeouts internally for each timeago value to be updated in real time // 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) { 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