diff --git a/lib/assets/javascripts/dashboard/data-library.js b/lib/assets/javascripts/dashboard/data-library.js index 7c565b6..91f7c18 100644 --- a/lib/assets/javascripts/dashboard/data-library.js +++ b/lib/assets/javascripts/dashboard/data-library.js @@ -17,7 +17,7 @@ const DataLibraryView = require('dashboard/views/data-library/data-library-view' var ACTIVE_LOCALE = 'zh-cn'; if (ACTIVE_LOCALE !== 'en') { - require('moment/locale/' + ACTIVE_LOCALE); + require('moment/locale/zh-cn'); } const polyglot = new Polyglot({