diff --git a/lib/assets/javascripts/builder/public_editor.js b/lib/assets/javascripts/builder/public_editor.js index 70b2d36..fc3fb3c 100755 --- a/lib/assets/javascripts/builder/public_editor.js +++ b/lib/assets/javascripts/builder/public_editor.js @@ -1,7 +1,7 @@ var ACTIVE_LOCALE = 'zh-cn'; if (ACTIVE_LOCALE !== 'en') { - require('moment/locale/' + ACTIVE_LOCALE); + require('moment/locale/zh-cn'); } require('whatwg-fetch');