rem: var state = ( ( recurEndDate.getFullYear() < endDate.getFullYear() || 
add: var state = ( recurEndDate.getTime() < endDate.getTime() && ( recurEndDate.getFullYear() != endDate.getFullYear() || 
context: function checkSetRecurTime(){   var recurEndDate = document.getElementById( "repeat-end-date-picker" ).value;   var endDate = document.getElementById( "end-date-picker" ).value;   var recurForever = getFieldValue( "repeat-forever-radio", "selected" );   var recur = getFieldValue( "repeat-checkbox", "checked" );      dump(recurForever+ " and "+ recur+ "\n");    var state = ( ( recurEndDate.getFullYear() < endDate.getFullYear() ||                 recurEndDate.getMonth() != endDate.getMonth() ||                 recurEndDate.getDate() != endDate.getDate() )                 && !recurForever && recur) ;   setRecurError(state);   return(!state );}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d82b30a2b29f86e72f5024d3b5660ae22eb30296/eventDialog.js/buggy/calendar/resources/content/eventDialog.js