From 59a203e05cc66f3a88ca0e325c2df94ec4c63d45 Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Mon, 9 Feb 2015 13:36:15 -0600 Subject: [PATCH] Corrected path to moment locale files --- website/src/i18n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/i18n.js b/website/src/i18n.js index 9d21e3021b..271036754a 100644 --- a/website/src/i18n.js +++ b/website/src/i18n.js @@ -54,7 +54,7 @@ _.each(langCodes, function(code){ lang.momentLangCode = (momentLangsMapping[code] || code); try{ // MomentJS lang files are JS files that has to be executed in the browser so we load them as plain text files - var f = fs.readFileSync(path.join(__dirname, '/../node_modules/moment/lang/' + lang.momentLangCode + '.js'), 'utf8'); + var f = fs.readFileSync(path.join(__dirname, '/../../node_modules/moment/locale/' + lang.momentLangCode + '.js'), 'utf8'); momentLangs[code] = f; }catch (e){} });