From: <cl...@us...> - 2004-08-12 02:41:35
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10013/functions Modified Files: ical_parser.php Log Message: Ximian bitches. Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.177 retrieving revision 1.178 diff -C2 -d -r1.177 -r1.178 *** ical_parser.php 11 Aug 2004 23:49:12 -0000 1.177 --- ical_parser.php 12 Aug 2004 02:41:26 -0000 1.178 *************** *** 1010,1014 **** preg_match ('/([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{0,2})([0-9]{0,2})/', $exdata, $regs); $except_dates[] = $regs[1] . $regs[2] . $regs[3]; ! $except_times[] = $regs[4] . $regs[5]; } break; --- 1010,1019 ---- preg_match ('/([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{0,2})([0-9]{0,2})/', $exdata, $regs); $except_dates[] = $regs[1] . $regs[2] . $regs[3]; ! // Added for Evolution, since they dont think they need to tell me which time to exclude. ! if (($regs[4] == '') && ($start_time != '')) { ! $except_times[] = $start_time; ! } else { ! $except_times[] = $regs[4] . $regs[5]; ! } } break; *************** *** 1165,1169 **** //print '<pre>'; ! //print_r($master_array['-4']); //print_r($overlap_array); //print_r($day_array); --- 1170,1174 ---- //print '<pre>'; ! //print_r($master_array); //print_r($overlap_array); //print_r($day_array); |