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