diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-26 08:26:31 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-26 08:26:31 +0000 |
commit | b8cc4f61ed18ee4bb8fcedb5a836e7bab9ecbbe4 (patch) | |
tree | ab2d8af1f6fa3aadab110842f304d4bf7f6b5d5e /functions/parse/end_vevent.php | |
parent | 7d565474b41400bfce2d665da96d39631458eda3 (diff) | |
download | phpicalendar-b8cc4f61ed18ee4bb8fcedb5a836e7bab9ecbbe4.tar.gz phpicalendar-b8cc4f61ed18ee4bb8fcedb5a836e7bab9ecbbe4.tar.bz2 phpicalendar-b8cc4f61ed18ee4bb8fcedb5a836e7bab9ecbbe4.zip |
expand search range;fix todo display
Diffstat (limited to 'functions/parse/end_vevent.php')
-rw-r--r-- | functions/parse/end_vevent.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functions/parse/end_vevent.php b/functions/parse/end_vevent.php index 80e1ce9..4c5c352 100644 --- a/functions/parse/end_vevent.php +++ b/functions/parse/end_vevent.php @@ -253,6 +253,7 @@ one $next_range_time per repeat, but the BYXXX rules may write more than one eve $next_date_time handles those instances within a $freq_type */ #echo "<pre>$summary\n\tstart mArray time:".date("Ymd his",$mArray_begin)."\n\tnext_range_unixtime:".date("Ymd his",$next_range_unixtime)."\n\tend range time ".date("Ymd his",$end_range_unixtime)."\n"; $recur_data = array(); +if($current_view == 'search') $freq_type = 'none'; while ($next_range_unixtime <= $end_range_unixtime && $count > 0) { $year = date("Y", $next_range_unixtime); $month = date('m', $next_range_unixtime); |