ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

日历组件月份不显示中文

Open shenlanchenwei opened this issue 1 year ago • 5 comments
trafficstars

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.3

Environment

MAC

Reproduction link

https://antdv.com/components/calendar-cn

Steps to reproduce

安装最新版本的dayjs,设置中文后,日历月份选择不会显示中文,而是显示英文,年份正常 我看官方引用的是"dayjs": "^1.10.5" 正常,但是如果安装的最新版本dayjs就会显示异常

What is expected?

安装最新版本dayjs,设置语言为中文后日历组件可以显示中文而不是英文

What is actually happening?

安装最新版本dayjs,设置语言为中文后日历组件部分中文,部分英文

shenlanchenwei avatar Aug 05 '24 01:08 shenlanchenwei

同问题,如何修复?

holiy930561 avatar Aug 08 '24 06:08 holiy930561

day 组件退回"dayjs": "^1.10.5" 就可以了,不能用最新版本

shenlanchenwei avatar Aug 08 '24 07:08 shenlanchenwei

npm ls dayjs 查看dayjs版本,项目中dayjs需要与ant-design-vue中的保持一致

yinmang1215 avatar Aug 20 '24 07:08 yinmang1215

同问 这个问题是否有修复计划啊

wiexin avatar Aug 23 '24 06:08 wiexin

https://www.antdv.com/components/config-provider-cn

Gluttonys avatar Sep 10 '24 03:09 Gluttonys

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Nov 10 '24 02:11 github-actions[bot]

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Nov 18 '25 01:11 github-actions[bot]