Browse Source

fix: 中文模式下日期选择框月份及星期异常显示英文 (#1406). (#2053)

Co-authored-by: 舒培培 <622292@ky-tech.com.cn>
cn.shperry 2 years ago
parent
commit
f305637366
1 changed files with 19 additions and 0 deletions
  1. 19 0
      src/locales/lang/zh-CN/antdLocale/DatePicker.ts

+ 19 - 0
src/locales/lang/zh-CN/antdLocale/DatePicker.ts

@@ -0,0 +1,19 @@
+export default {
+  lang: {
+    shortWeekDays: ['一', '二', '三', '四', '五', '六', '日'],
+    shortMonths: [
+      '1月',
+      '2月',
+      '3月',
+      '4月',
+      '5月',
+      '6月',
+      '7月',
+      '8月',
+      '9月',
+      '10月',
+      '11月',
+      '12月',
+    ],
+  },
+};