更新 'lib/assets/javascripts/dashboard/data-library.js'

This commit is contained in:
zhongjin 2024-04-09 13:31:11 +08:00
parent ee8e2a6b9a
commit 634b50a8bf

View File

@ -17,7 +17,7 @@ const DataLibraryView = require('dashboard/views/data-library/data-library-view'
var ACTIVE_LOCALE = 'zh-cn'; var ACTIVE_LOCALE = 'zh-cn';
if (ACTIVE_LOCALE !== 'en') { if (ACTIVE_LOCALE !== 'en') {
require('moment/locale/' + ACTIVE_LOCALE); require('moment/locale/zh-cn');
} }
const polyglot = new Polyglot({ const polyglot = new Polyglot({