react-datetime icon indicating copy to clipboard operation
react-datetime copied to clipboard

isValidDate is hiding current month and year

Open simeg opened this issue 10 years ago • 1 comments

  1. Look at this demo
  2. Notice the current month (November right now)
  3. Notice the current year (2016 right now)
  4. Click "November 2016" to go to month view
  5. November is a disabled option <- BUG
  6. Click "2016" to go to year view
  7. 2016 is a disabled option <- BUG

As the functionality of actually validating months and year was introduced pretty recently, I'm guessing it was this commit that caused it.

@michelre do you feel like looking into it? :)

simeg avatar Nov 17 '16 22:11 simeg

Thanks for your feedback. I'll check this out this week end! :)

michelre avatar Nov 18 '16 13:11 michelre