Skip to content

日期插件中文无法使用 #3132

@mote-ice

Description

@mote-ice
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.0.0-beta.13

Environment

电脑系统: Mac 10.15.7、浏览器版本: Chrome 86.0.4240.183、Vue版本: 3.0.2

Reproduction link

https://2x.antdv.com/components/date-picker-cn/

Steps to reproduce

import zh_CN from 'ant-design-vue/es/locale/zh_CN'
import moment from 'moment'
import 'moment/locale/zh-cn'

moment.locale('zh-cn')
export default {
setup() {
const value = ref([])
return {
value, zh_CN
}
}
}

What is expected?

日期组件 月份星期显示中文

What is actually happening?

日期组件 月份星期 依然显示英文 中文国际化无法生效

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions