diff --git a/code/Calendar.php b/code/Calendar.php index dd54b2b..7b12e11 100755 --- a/code/Calendar.php +++ b/code/Calendar.php @@ -340,7 +340,6 @@ protected function importFromFeeds($all_events, $start_date = null, $end_date = if(isset($event[$dt_start]) && isset($event[$dt_end])) { list($start_date, $end_date, $start_time, $end_time) = CalendarUtil::date_info_from_ics($event[$dt_start], $event[$dt_end]); $t_start = strtotime($start_date); - var_dump($start_date."--".$event['SUMMARY']."--".$event[$dt_start]); $t_end = strtotime($end_date); if($t_start >= $this->start_date->get() || array_key_exists("RRULE", $event) ) { @@ -377,7 +376,6 @@ protected function importFromFeeds($all_events, $start_date = null, $end_date = $occur = strtotime( date("Y-m-d", $occur)." +".$interval." $freq") ) { if( $occur >= $this->start_date->get() && $occur <= $this->end_date->get() ){ - print date("Y-m-d", $this->end_date->get() ) ; $c = $this->getEventDateTimeClass(); $new_date = new $c(); $new_date->StartDate = date("Y-m-d", $occur);