You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
2.3 KiB
49 lines
2.3 KiB
export default {
|
|
// https://github.com/yiminghe/gregorian-calendar/blob/90898382392b7d575a19aa18696a35fee81a756f/src/locale/zh-cn.js
|
|
timezoneOffset: 8 * 60,
|
|
firstDayOfWeek: 1,
|
|
minimalDaysInFirstWeek: 1,
|
|
lang: {
|
|
// https://github.com/react-component/calendar/blob/c92cc946f7dddf93d6edb5afdaecb4d72c5b75d6/src/locale/zh-cn.js
|
|
today: '今天',
|
|
now: '此刻',
|
|
ok: '确定',
|
|
clear: '清除',
|
|
previousMonth: '上个月 (翻页上键)',
|
|
nextMonth: '下个月 (翻页下键)',
|
|
monthSelect: '选择月份',
|
|
yearSelect: '选择年份',
|
|
decadeSelect: '选择年代',
|
|
hourInput: '上一小时(上方向键), 下一小时(下方向键)',
|
|
minuteInput: '上一分钟(上方向键), 下一分钟(下方向键)',
|
|
secondInput: '上一秒(上方向键), 下一小时(下方向键)',
|
|
hourPanelTitle: '选择小时',
|
|
minutePanelTitle: '选择分钟',
|
|
secondPanelTitle: '选择秒',
|
|
yearFormat: 'yyyy\'年\'',
|
|
monthFormat: 'M\'月\'',
|
|
dateFormat: 'yyyy\'年\'M\'月\'d\'日\'',
|
|
previousYear: '上一年 (Control键加左方向键)',
|
|
nextYear: '下一年 (Control键加右方向键)',
|
|
previousDecade: '上一年代',
|
|
nextDecade: '下一年代',
|
|
previousCentury: '上一世纪',
|
|
nextCentury: '下一世纪',
|
|
|
|
// https://github.com/yiminghe/gregorian-calendar-format/blob/d2f2b1281bfc728dd550194a29ce53fca4266327/lib/locale/zh-cn.js
|
|
eras: ['公元前', '公元'],
|
|
months: ['一月', '二月', '三月', '四月', '五月', '六月',
|
|
'七月', '八月', '九月', '十月', '十一月', '十二月'],
|
|
shortMonths: ['一月', '二月', '三月', '四月', '五月', '六月',
|
|
'七月', '八月', '九月', '十月', '十一月', '十二月'],
|
|
weekdays: ['星期天', '星期一', '星期二', '星期三', '星期四',
|
|
'星期五', '星期六'],
|
|
shortWeekdays: ['周日', '周一', '周二', '周三', '周四', '周五',
|
|
'周六'],
|
|
veryShortWeekdays: ['日', '一', '二', '三', '四', '五', '六'],
|
|
ampms: ['上午', '下午'],
|
|
datePatterns: ['yyyy\'年\'M\'月\'d\'日\' EEEE', 'yyyy\'年\'M\'月\'d\'日\'', 'yyyy-M-d', 'yy-M-d'],
|
|
timePatterns: ['ahh\'时\'mm\'分\'ss\'秒\' \'GMT\'Z', 'ahh\'时\'mm\'分\'ss\'秒\'', 'H:mm:ss', 'ah:mm'],
|
|
dateTimePattern: '{date} {time}'
|
|
}
|
|
};
|
|
|