Skip to main content

Search and Top Navigation

#3526 closed bug (fixed)

Opened October 30, 2008 09:49AM UTC

Closed November 07, 2008 10:13AM UTC

Last modified October 11, 2012 09:15PM UTC

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

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

$('#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 'dd.mm.'

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

Attachments (0)
Change History (2)

Changed November 07, 2008 10:13AM UTC by kbwood comment:1

resolution: → fixed
status: newclosed

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

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

milestone: TBD

Milestone TBD deleted