Skip to content

In DatePicker week mode, if the valueFormat parameter is specified, the displayed value is abnormal #5856

Open
@atom-git

Description

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

Version

3.2.6

Environment

ant design vue 3.2.10

Reproduction link

Edit on CodeSandbox

Steps to reproduce

尝试过引入
import advancedFormat from 'dayjs/plugin/advancedFormat'
import weekOfYear from 'dayjs/plugin/weekOfYear'
等方式均不能成功

What is expected?

使用valueFormat能够正常显示值

What is actually happening?

change时获取到的值正常,显示的值为当年第一周

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