Skip to content

[RangePicker] When manually edit second date, it will be incremented by one month #4854

@AsukaShikinamiLangley

Description

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

Version

1.7.7

Environment

"ant-design-vue": "1.7.8", "moment": "2.22.1", "vue": "2.5.17"

Reproduction link

Edit on CodeSandbox

Steps to reproduce

动画

选中日期范围(2021-11-05 ~ 2021-11-06), 点开选择器, 手动修改第二个日期为2021-11-07, 回车

What is expected?

日期范围为2021-11-05 ~ 2021-11-07

What is actually happening?

日期范围为2021-11-05 ~ 2021-12-07


两个都选12月的话会跨年

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions