jquery/jquery-ui — pull request #681 by tsibley (2012-06-15 00:23:50+00:00)
Title: Datepicker: Set drawMonth/Year when selecting a day

Otherwise when July 2012 is displayed but, for example, 4 August 2012 is selected (on the same calendar), then 4 July is marked active in _generateHTML (not 4 August).