Skip to content

a-range-picker moment时间inValid date #1028

@gitspringcould

Description

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

Version

1.3.10

Environment

windows10,google75.0.3770.142,vue2.x

Reproduction link

https://github.com/vueComponent/ant-design-vue

Steps to reproduce

页面加载初始化时间,格式化为YYYY-MM-DD,调用组件a-range-picker设置默认值,页面显示invalid date

What is expected?

通过moment(value,format)能够显示默认值

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