diff options
author | Chad Little <clittle@users.sourceforge.net> | 2003-09-17 04:34:20 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2003-09-17 04:34:20 +0000 |
commit | 12464260dfa5722f8e895cb4c89c24ec29ce055a (patch) | |
tree | 7c3d900fbf4808e81d78a8177c0fa9445243d9fc /functions | |
parent | 1c5c375de529ccf514ed4dcded238cf83cf4c0a2 (diff) | |
download | phpicalendar-12464260dfa5722f8e895cb4c89c24ec29ce055a.tar.gz phpicalendar-12464260dfa5722f8e895cb4c89c24ec29ce055a.tar.bz2 phpicalendar-12464260dfa5722f8e895cb4c89c24ec29ce055a.zip |
*** empty log message ***
Diffstat (limited to 'functions')
-rw-r--r-- | functions/ical_parser.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php index 08931b5..5382dc3 100644 --- a/functions/ical_parser.php +++ b/functions/ical_parser.php @@ -385,6 +385,9 @@ foreach ($cal_filelist as $filename) { case 'END': // if $until isn't set yet, we set it to the end of our range we're looking at + // The FREQ switch array will always kick our early, so lets try this workaround. + if (isset($until)) $until = strtotime('+'.$interval.' '.$freq_type, $until);; + if (!isset($until)) $until = $end_range_time; $end_date_time = $until; $start_range_time_tmp = $start_range_time; |