|
From: <cl...@us...> - 2004-11-09 20:53:20
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv868/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.185 retrieving revision 1.186 diff -C2 -d -r1.185 -r1.186 *** ical_parser.php 2 Oct 2004 00:09:39 -0000 1.185 --- ical_parser.php 9 Nov 2004 20:53:11 -0000 1.186 *************** *** 535,538 **** --- 535,539 ---- if ((isset($bymonthday)) && (!isset($byday))) { foreach($bymonthday as $day) { + if ($day < 0) $day = ((date('t', $next_range_time)) + ($day)) + 1; $year = date('Y', $next_range_time); $month = date('m', $next_range_time); |