diff --git a/lib/assets/javascripts/builder/dataset.js b/lib/assets/javascripts/builder/dataset.js index e358520..9187275 100755 --- a/lib/assets/javascripts/builder/dataset.js +++ b/lib/assets/javascripts/builder/dataset.js @@ -2,7 +2,7 @@ var ACTIVE_LOCALE = 'zh-cn'; if (ACTIVE_LOCALE !== 'en') { - require('moment/locale/' + ACTIVE_LOCALE); + require('moment/locale/zh-cn'); } var Locale = require('locale/index'); var Polyglot = require('node-polyglot');