Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#3526 closed bug (fixed)

Default Year is 1998 with options: changeYear:false, dateFormat: ''

Reported by: insekticid Owned by: grabanski
Priority: major Milestone:
Component: ui.datepicker Version: 1.6rc2
Keywords: Cc:
Blocked by: Blocking:


$('#datepicker').datepicker({'minDate':$.datepicker.parseDate("yy-mm-dd", "2008-10-29"),'maxDate':$.datepicker.parseDate("yy-mm-dd", "2008-11-06"),'changeYear':false,'dateFormat':'mm.dd.'});

There is coloring problem with selected date, when I set limits for datepicker (date range), disable changeYear and set format to ''

range is 2008-10-29 - 2008-11-06 I set date to '10-29' and open the datepicker, but there is no TABLE -> TD cell with class 'ui-datepicker-current-day'. Why? because default year is not 2008 (what I expect), but 1998!

So date in datepicker is 1998-10-29 instead 2008-10-29

Change History (2)

comment:1 Changed 8 years ago by kbwood

Resolution: fixed
Status: newclosed

The year is now defaulted to the current one if not set in the input field.

comment:2 Changed 5 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.