Opened 7 years ago
#14944 new bug
Wrong "current" date once maxDate is provided
Reported by: | Raphaël Dehousse | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.datepicker | Version: | 1.11.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hello,
Here is a jsFiddle showing the bug https://jsfiddle.net/0fpy4qec/
We're the 3rd of April 2016 I set a maxDate of -10Y, so, the calendar shows the last year available, being 2006. But the months and days are the one of 2016. So, we cannot go further than April 3rd.
Without maxDate but with only yearRange, once we select 2006, it's ok. So, for me, it's really linked to maxDate not taken into account to get the "date of that month of that year".
Hope it's clear.
Cheers,
Raphaël
Note: See
TracTickets for help on using
tickets.