From: <cl...@us...> - 2003-11-14 22:15:48
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1:/tmp/cvs-serv29530/functions Modified Files: ical_parser.php Log Message: Declared bymonth and bymonthday Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.120 retrieving revision 1.121 diff -C2 -d -r1.120 -r1.121 *** ical_parser.php 14 Nov 2003 22:11:21 -0000 1.120 --- ical_parser.php 14 Nov 2003 22:15:44 -0000 1.121 *************** *** 103,106 **** --- 103,108 ---- $except_dates = array(); $except_times = array(); + $bymonth = array(); + $bymonthday = array(); $first_duration = TRUE; $count = 1000000; *************** *** 440,444 **** $next_range_time = strtotime(date('Y-m-01', $next_range_time)); // month has two cases, either $bymonthday or $byday ! if ((is_array($bymonthday)) && (!is_array($byday))) { // loop through the days on which this event happens foreach($bymonthday as $day) { --- 442,446 ---- $next_range_time = strtotime(date('Y-m-01', $next_range_time)); // month has two cases, either $bymonthday or $byday ! if ((isset($bymonthday)) && (!isset($byday))) { // loop through the days on which this event happens foreach($bymonthday as $day) { |