rasyahadlinugraha / wiquery

Automatically exported from code.google.com/p/wiquery
MIT License
0 stars 0 forks source link

yearRange options is not working properly #154

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new DatePicker with setChangeYear(true) and setYearRange(new 
DatePickerYearRange((short)-40, (short)0, false))

What is the expected output? What do you see instead?
Expected is a year drop-down with 40 year options, starting at currently 
selected year back down to 40 years before current selected date. What I got is 
the default 20 year options with current year +-10 years. 

What version of the product are you using? On what operating system?
wiQuery 1.2.1, firefox 3.6.13, win7

Please provide any additional information below.
DatePickerYearRange is not fully implemented. The relativeYearFrom/To are never 
set and will always be null.

Original issue reported on code.google.com by swan...@gmail.com on 1 Feb 2011 at 1:43

GoogleCodeExporter commented 9 years ago
Hi,

I look on the problem. I create a patch to respect the range format (like we 
can see on the following links: 
http://docs.jquery.com/UI/Datepicker#option-yearRange).

Can you provide me sone feedbacks about this ? If it works, I will apply it 
into the trunk.

Thank you

Regards

Julien Roche

Original comment by roche....@gmail.com on 2 Feb 2011 at 10:31

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in commit r702

Original comment by roche....@gmail.com on 3 Feb 2011 at 10:40