From: <par...@us...> - 2010-05-26 14:51:39
|
Update of /cvsroot/phpicalendar/phpicalendar/functions/parse In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv5458/functions/parse Modified Files: Tag: version-2-4 recur_functions.php Log Message: Fix EXDATE in some cases. Thanks to jpommer: http://phpicalendar.net/forums/viewtopic.php?f=45&t=3994#p14555 Index: recur_functions.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/parse/recur_functions.php,v retrieving revision 1.20 retrieving revision 1.20.2.1 diff -C2 -d -r1.20 -r1.20.2.1 *** recur_functions.php 4 Feb 2010 21:48:14 -0000 1.20 --- recur_functions.php 26 May 2010 14:51:28 -0000 1.20.2.1 *************** *** 49,52 **** --- 49,55 ---- ) $recur_data[] = $time; } + else if (in_array($date, $except_dates)) { + $count--; + } } #dump_times($recur_data); |