2015-10-23 23:50:26 +08:00
|
|
|
import objectAssign from 'object-assign';
|
2015-11-03 13:50:36 +08:00
|
|
|
import GregorianCalendarLocale from 'gregorian-calendar/lib/locale/zh_CN.js';
|
|
|
|
import CalendarLocale from 'rc-calendar/lib/locale/zh_CN.js';
|
|
|
|
import GregorianCalendarFormatLocale from 'gregorian-calendar-format/lib/locale/zh_CN';
|
2015-10-23 17:57:02 +08:00
|
|
|
|
2015-10-23 23:50:26 +08:00
|
|
|
// 统一合并为完整的 Locale
|
|
|
|
let locale = objectAssign({}, GregorianCalendarLocale);
|
|
|
|
locale.lang = objectAssign({}, CalendarLocale, GregorianCalendarFormatLocale);
|
|
|
|
|
|
|
|
// All settings at:
|
|
|
|
// https://github.com/ant-design/ant-design/issues/424
|
|
|
|
|
|
|
|
export default locale;
|