rem: if ( endDate < startDate) 
add:  if( startDate.getFullYear() == endDate.getFullYear() && startDate.getMonth() == endDate.getMonth() && startDate.getDay() == endDate.getDay() ) return( 0 );  else if ( endDate < startDate) 
context: function checkEndDate(){   // Bad to get into floats.   var startDate = Math.floor(document.getElementById( "start-date-picker" ).value.getTime()/86400000);    var endDate = Math.floor(document.getElementById( "end-date-picker" ).value.getTime()/86400000);    if ( endDate < startDate)      return -1;   else if (endDate > startDate)      return 1;   else       return 0;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/7d4604306bb1fa0b9c3972295a2b192d78847a3b/eventDialog.js/buggy/calendar/resources/content/eventDialog.js