Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RangePicker with defaultValues in same month #7320

Closed
devjul opened this issue Aug 24, 2017 · 0 comments
Closed

RangePicker with defaultValues in same month #7320

devjul opened this issue Aug 24, 2017 · 0 comments
Assignees

Comments

@devjul
Copy link

devjul commented Aug 24, 2017

Version

2.12.2

Environment

All browsers

Reproduction link

https://ant.design/components/date-picker/#components-date-picker-demo-format

Steps to reproduce

  • Open the range picker
  • Choose a start date and start hover an end date
  • Observe the second month

What is expected?

Like the range picker without default values, the second month must be the first month 1 month.

What is actually happening?

The second month in the rangepicker become the first month (here February become January)


If you choose a range like 2015/01/01 to 2015/01/23 and click again on the rangepicker, it works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants