From 4d3aed8467ac419519102f5801e763581ae9253a Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 17 Jan 2019 14:49:43 +1100 Subject: [PATCH] Avoid deprecation warnings of momentjs --- app/views/layouts/_i18n_script.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_i18n_script.html.haml b/app/views/layouts/_i18n_script.html.haml index 40884082ac..70cfafba83 100644 --- a/app/views/layouts/_i18n_script.html.haml +++ b/app/views/layouts/_i18n_script.html.haml @@ -2,4 +2,4 @@ I18n.default_locale = "#{I18n.default_locale}"; I18n.locale = "#{I18n.locale}"; I18n.fallbacks = true; - moment.lang([I18n.locale, 'en']); + moment.locale([I18n.locale, 'en']);