|
|
@ -1,11 +1,12 @@
|
|
|
|
import deepObjectExtend from 'new-dashboard/utils/deep-object-extend';
|
|
|
|
import deepObjectExtend from 'new-dashboard/utils/deep-object-extend';
|
|
|
|
|
|
|
|
|
|
|
|
var moment=require('moment');
|
|
|
|
var moment=require('moment');
|
|
|
|
|
|
|
|
require('moment/locale/zh-cn');
|
|
|
|
|
|
|
|
|
|
|
|
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/' + ACTIVE_LOCALE);
|
|
|
|
}
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
var Locale = require('locale/index');
|
|
|
|
var Locale = require('locale/index');
|
|
|
|
var Polyglot = require('node-polyglot');
|
|
|
|
var Polyglot = require('node-polyglot');
|
|
|
|