diff options
author | Chad Little <clittle@users.sourceforge.net> | 2002-11-21 18:07:11 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2002-11-21 18:07:11 +0000 |
commit | dc9f74e815e89642efeebd7536ed1fa6e5e31673 (patch) | |
tree | da9de162c5e008556c3adb238943ecb666c474b0 | |
parent | cddaae62f9fc605f55c9fed2a9090127abf24577 (diff) | |
download | phpicalendar-dc9f74e815e89642efeebd7536ed1fa6e5e31673.tar.gz phpicalendar-dc9f74e815e89642efeebd7536ed1fa6e5e31673.tar.bz2 phpicalendar-dc9f74e815e89642efeebd7536ed1fa6e5e31673.zip |
more recurrence support. uncomplete checkin.
-rw-r--r-- | functions/ical_parser.php | 7 | ||||
-rw-r--r-- | rss/rss.php | 3 |
2 files changed, 5 insertions, 5 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php index 96c5c41..1918902 100644 --- a/functions/ical_parser.php +++ b/functions/ical_parser.php @@ -146,6 +146,7 @@ if ($parse_file) { } // If the events go past midnight + // Needs to be re-thunk if ($end_time < $start_time) $end_time = 2359; } @@ -165,9 +166,9 @@ if ($parse_file) { // handle single changes in recurring events // Maybe this is no longer need since done at bottom of parser? - CL 11/20/02 - //if ($uid_valid && $write_processed) { - // $processed[$uid] = array($start_date,($hour.$minute)); - //} + if ($uid_valid && $write_processed) { + $processed[$uid] = array($start_date,($hour.$minute)); + } // Handling of the all day events if ((isset($allday_start) && $allday_start != '')) { diff --git a/rss/rss.php b/rss/rss.php index 9bdd284..252b587 100644 --- a/rss/rss.php +++ b/rss/rss.php @@ -2,8 +2,7 @@ define('BASE', '../'); include(BASE.'functions/ical_parser.php'); -$default_path = 'http://'.$HTTP_SERVER_VARS['SERVER_NAME'].substr($HTTP_SERVER_VARS['PHP_SELF'],0,strpos($HTTP_SERVER_VARS['PHP_SELF'], '/rss/')); - +$default_path = 'http://'.$HTTP_SERVER_VARS['SERVER_NAME'].':'.$HTTP_SERVER_VARS['SERVER_PORT'].substr($HTTP_SERVER_VARS['PHP_SELF'],0,strpos($HTTP_SERVER_VARS['PHP_SELF'],'/rss/')); $start_week_time = strtotime(dateOfWeek($getdate, $week_start_day)); $end_week_time = $start_week_time + (6 * 25 * 60 * 60); $start_week = localizeDate($dateFormat_week, $start_week_time); |