jquery/jquery-ui — pull request #521 by ghostd (2011-11-08 16:22:04+00:00)
Title: Datepicker: handling yearRange when generating the HTML (fixes #7782)

Datepicker: handling yearRange when generating the HTML (fixes #7782: Datepicker does not render proper month when yearRange does not include now

There is one weird thing in the current code (was here before this patch):
why _generateHTML initializes 'currentDate' with new Date(9999, 9, 9) instaed of new Date() ?