Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory sc8-pr-cvs1:/tmp/cvs-serv31582/functions
Modified Files:
ical_parser.php
Log Message:
Added a check for abs_until, setting it if not set.
Index: ical_parser.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v
retrieving revision 1.121
retrieving revision 1.122
diff -C2 -d -r1.121 -r1.122
*** ical_parser.php 14 Nov 2003 22:15:44 -0000 1.121
--- ical_parser.php 14 Nov 2003 22:27:06 -0000 1.122
***************
*** 109,113 ****
$valarm_set = FALSE;
$attendee = array();
! $organizer = array();
unset(
--- 109,113 ----
$valarm_set = FALSE;
$attendee = array();
! $organizer = array();
unset(
***************
*** 389,392 ****
--- 389,393 ----
if (!isset($until)) $until = $end_range_time;
+ if (!isset($abs_until)) $abs_until = date('YmdHis', $end_range_time);
$end_date_time = $until;
$start_range_time_tmp = $start_range_time;
***************
*** 469,473 ****
$recur_data[] = $next_date_time;
}
! } elseif (is_array($bymonthday)) {
// This supports MONTHLY where BYDAY and BYMONTH are both set
foreach($bymonthday as $day) {
--- 470,474 ----
$recur_data[] = $next_date_time;
}
! } elseif (isset($bymonthday)) {
// This supports MONTHLY where BYDAY and BYMONTH are both set
foreach($bymonthday as $day) {
|