diff --git a/lib/assets/javascripts/dashboard/profile.js b/lib/assets/javascripts/dashboard/profile.js index 9a4d6b9..dc85902 100644 --- a/lib/assets/javascripts/dashboard/profile.js +++ b/lib/assets/javascripts/dashboard/profile.js @@ -2,7 +2,7 @@ var ACTIVE_LOCALE = window.ACTIVE_LOCALE; ACTIVE_LOCALE = 'zh-cn'; if (ACTIVE_LOCALE !== 'en') { - require('moment/locale/' + ACTIVE_LOCALE); + require('moment/locale/zh-cn'); } const _ = require('underscore'); require('dashboard/data/backbone/sync-options');