Update of /cvsroot/phpicalendar/phpicalendar/functions/init
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2088/functions/init
Modified Files:
date_range.php
Log Message:
progress on recurrence
Index: date_range.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init/date_range.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** date_range.php 11 Dec 2008 23:48:39 -0000 1.1
--- date_range.php 16 Dec 2008 15:46:24 -0000 1.2
***************
*** 32,39 ****
case 'day':
$mArray_begin = mktime (0,0,0,$start_month,21,($start_year));
! $mArray_end = mktime (0,0,0,$end_month,12,($end_year));
break;
default:
$mArray_begin = mktime (0,0,0,12,21,($this_year - 1));
! $mArray_end = mktime (0,0,0,1,12,($this_year + 1));
}
--- 32,39 ----
case 'day':
$mArray_begin = mktime (0,0,0,$start_month,21,($start_year));
! $mArray_end = mktime (0,0,0,$end_month,31,($end_year));
break;
default:
$mArray_begin = mktime (0,0,0,12,21,($this_year - 1));
! $mArray_end = mktime (0,0,0,1,31,($this_year + 1));
}
|