Skip to main content

Search and Top Navigation

#14944 new bug ()

Opened April 03, 2016 12:25PM UTC

Last modified April 03, 2016 12:25PM UTC

Wrong "current" date once maxDate is provided

Reported by: rdehouss Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.11.4
Keywords: Cc:
Blocked by: Blocking:


Here is a jsFiddle showing the bug

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.



Attachments (0)
Change History (0)