jQuery(
  function () {
    jQuery('.datetime-pick').datetimepicker();
    jQuery('.date-pick').datetimepicker({
      'pickDateOnly': true,
      'defaultDate': new Date('01/01/1974'),
      'timeFormat': '',
      'yearRange': '1900:2008'
    });
  }
);


jQuery(
  function () {
	var cur_year = new Date().getFullYear();
    jQuery('.datetime-pick').datetimepicker();
    jQuery('.date-pick').datetimepicker({
      'pickDateOnly': true,
      'defaultDate': new Date('01/01/1974'),
      'timeFormat': '',
      'yearRange': '1900:' + (cur_year + 1)
    });
  }
);


Fix the date picker to show the year till the current year plus one.
Fix the date picker to show the year till the current year plus one.

--HG--
extra : rebase_source : 251155a2af486272154e6eb5e993859fc4fd0650
