Search and Top Navigation
#5476 closed bug (wontfix)
Opened April 02, 2010 06:03PM UTC
Closed April 28, 2010 05:39AM UTC
Last modified October 11, 2012 09:15PM UTC
Wrong year
Reported by: | animal | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.datepicker | Version: | 1.8 |
Keywords: | wrong year | Cc: | |
Blocked by: | Blocking: |
Description
Hi.
First of all sorry for my english.
I've found bug in datepicker.
First U have to change option ("yearRange") to for example 1900-1993. $("#datepicker").datepicker({ yearRange: '1900:1993'});
Next if U will try to pick a date without changing a year it will show with current year instead of 1990 which it should.
Yours,
Animal
The yearRange option only affects how many years are shown in the drop-down list. If you need to limit the selectable dates use minDate and maxDate instead. You need to coordinate these options to be meaningful for your application.