rem: if ( datepicker.value > Now && !getFieldValue( "repeat-checkbox", "checked" ) ) 
add: if ( datepicker.value.getTime() > Now.getTime() && !getFieldValue( "repeat-checkbox", "checked" ) ) 
context: function onDatePick( datepicker ){   var Now = new Date();   //change the end date of recurring events to today, if the new date is after today and repeat is not checked.   if ( datepicker.value > Now && !getFieldValue( "repeat-checkbox", "checked" ) )    {      document.getElementById( "repeat-end-date-picker" ).value = datepicker.value;   }   updateAdvancedWeekRepeat();         updateAdvancedRepeatDayOfMonth();   updateAddExceptionButton();   updateOKButton();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d82b30a2b29f86e72f5024d3b5660ae22eb30296/eventDialog.js/buggy/calendar/resources/content/eventDialog.js