From: <cl...@us...> - 2003-09-17 04:34:27
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1:/tmp/cvs-serv21652/functions Modified Files: ical_parser.php Log Message: Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.99 retrieving revision 1.100 diff -C2 -d -r1.99 -r1.100 *** ical_parser.php 17 Sep 2003 04:03:33 -0000 1.99 --- ical_parser.php 17 Sep 2003 04:34:20 -0000 1.100 *************** *** 386,389 **** --- 386,392 ---- // if $until isn't set yet, we set it to the end of our range we're looking at + // The FREQ switch array will always kick our early, so lets try this workaround. + if (isset($until)) $until = strtotime('+'.$interval.' '.$freq_type, $until);; + if (!isset($until)) $until = $end_range_time; $end_date_time = $until; |