From: <cl...@us...> - 2003-09-17 04:03:40
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1:/tmp/cvs-serv17003/functions Modified Files: ical_parser.php Log Message: Fix for #668697. Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.98 retrieving revision 1.99 diff -C2 -d -r1.98 -r1.99 *** ical_parser.php 15 Sep 2003 06:28:51 -0000 1.98 --- ical_parser.php 17 Sep 2003 04:03:33 -0000 1.99 *************** *** 479,482 **** --- 479,484 ---- break; case 'YEARLY': + echo $summary; + print_r($bymonth); if (!isset($bymonth)) $bymonth[] = date('m', $start_date_time); foreach($bymonth as $month) { *************** *** 498,503 **** } } else { ! $day = date('d', $start_date_time); ! $next_date_time = mktime(0,0,0,$month,$day,$year); } $recur_data[] = $next_date_time; --- 500,505 ---- } } else { ! $day = date('d', $start_date_time); ! $next_date_time = mktime(0,0,0,$month,$day,$this_year); } $recur_data[] = $next_date_time; |