summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2017-06-30 12:20:21 -0400
committerBryce Johnson <bryce@gitlab.com>2017-06-30 12:20:21 -0400
commit4c20ee71a979121d88f90e475825fc03a01e3468 (patch)
tree7e42db50121d0d7b3374058845ee4e9b361e49ca
parenta6c02ce6b90026b605049784824276bb33f9e776 (diff)
downloadgitlab-ce-restore-timeago-translation.tar.gz
Restore timeago translations in renderTimeago.restore-timeago-translation
-rw-r--r--app/assets/javascripts/lib/utils/datetime_utility.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/lib/utils/datetime_utility.js b/app/assets/javascripts/lib/utils/datetime_utility.js
index 034a1ec2054..1d1763c3963 100644
--- a/app/assets/javascripts/lib/utils/datetime_utility.js
+++ b/app/assets/javascripts/lib/utils/datetime_utility.js
@@ -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) {