Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5767/phpicalendar/functions
Modified Files:
date_functions.php ical_parser.php
Log Message:
fix for calculation of negative byday events
Index: date_functions.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/date_functions.php,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** date_functions.php 30 Oct 2005 01:32:44 -0000 1.30
--- date_functions.php 2 Dec 2005 17:18:31 -0000 1.31
***************
*** 221,225 ****
// What the heck is this doing in here?
! $data = str_replace ('/softwarestudio.org/Olson_20011030_5/', '', $data);
// Check for zulu time.
--- 221,225 ----
// What the heck is this doing in here?
! #$data = str_replace ('/softwarestudio.org/Olson_20011030_5/', '', $data);
// Check for zulu time.
Index: ical_parser.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v
retrieving revision 1.200
retrieving revision 1.201
diff -C2 -d -r1.200 -r1.201
*** ical_parser.php 30 Nov 2005 02:20:32 -0000 1.200
--- ical_parser.php 2 Dec 2005 17:18:31 -0000 1.201
***************
*** 563,566 ****
--- 563,569 ----
$recur_data[] = $next_date_time;
}
+ #reset next_range_time to start of month
+ $next_range_time = strtotime(date('Y-m-'.'1', $next_range_time));
+
} elseif (isset($bymonthday) && (!empty($bymonthday))) {
// This supports MONTHLY where BYDAY and BYMONTH are both set
|