eternicode/bootstrap-datepicker — pull request #225 by dule (2012-10-19 20:17:58+00:00)
Title: Prevent infinite loop on invalid month (fixes #224)

Few ways to fix this, but the problem seems to be on line 739 where when
v is NaN the loop never exits