diff --git a/client/coral-framework/services/i18n.js b/client/coral-framework/services/i18n.js index e3b729932..6a9b07d05 100644 --- a/client/coral-framework/services/i18n.js +++ b/client/coral-framework/services/i18n.js @@ -48,7 +48,7 @@ export function loadTranslations(newTranslations) { } export function timeago(time) { - return timeagoInstance.format(new Date(time), getLocale()); + return timeagoInstance.format(new Date(time), lang); } /**