Skip to main content

Search and Top Navigation

#4641 closed bug (wontfix)

Opened June 27, 2009 01:40AM UTC

Closed July 05, 2009 05:12AM UTC

Last modified October 19, 2012 07:32PM UTC

Datepicker doesn't take the yearRange into account when rendering

Reported by: afx Owned by:
Priority: minor Milestone:
Component: ui.datepicker Version: 1.7.2
Keywords: datepicker, yearRange, current year, _selectDay Cc:
Blocked by: Blocking:
Description

When using the option yearRange: 2010-2011 the datepicker renders the _selectDay function with the current year

<td class="" onclick="DP_jQuery.datepicker._selectDay('#date_field ',26,2009, this);return false;">

Attachments (0)
Change History (3)

Changed July 05, 2009 05:12AM UTC by kbwood comment:1

resolution: → wontfix
status: newclosed

The yearRange setting just restricts the years that appear in the drop-down list. If you only want people to select dates within these years, you must use the minDate and maxDate settings.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted

Changed October 19, 2012 07:32PM UTC by mikesherov comment:3

#7782 is a duplicate of this ticket.