From: <cl...@us...> - 2003-11-21 17:02:00
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1:/tmp/cvs-serv4051/functions Modified Files: ical_parser.php Log Message: Fix for Ximains lame problems. [ 846644 ] The Recurrence Bug. Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.131 retrieving revision 1.132 diff -C2 -d -r1.131 -r1.132 *** ical_parser.php 20 Nov 2003 00:13:08 -0000 1.131 --- ical_parser.php 21 Nov 2003 17:01:57 -0000 1.132 *************** *** 331,334 **** --- 331,335 ---- $until = ereg_replace('T', '', $val); $until = ereg_replace('Z', '', $until); + if (strlen($until) == 8) $until = $until.'235959'; $abs_until = $until; ereg ('([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})', $until, $regs); |