UI 1.8RC1: Datepicker yearRange & changeYear bug
Hey folks.
according to this bugreport:
http://dev.jqueryui.com/ticket/4870 i got another small issue with the new jqui version:
old code (UI 1.7)
- $("#datepicker").datepicker({
- changeYear: true,
- yearRange: '-10:0'
- });
This is not longer working. I tested a bit, and got the issue:
- $("#datepicker").datepicker({
- changeYear: true,
- yearRange: '-10:+0'
- });
i'm not the best at maths, but +0 doesn't make sense for me ;) should be simply 0 :) If you add 0, only the actual year is shown. if you add +0, the last 10 years are shown, too.