diff options
author | Chad Little <clittle@users.sourceforge.net> | 2003-11-21 17:01:57 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2003-11-21 17:01:57 +0000 |
commit | 94fe29ec330109aa0cac8f748631ec11612027e9 (patch) | |
tree | 88d0ab3ac5f0999c661eaf82fab910241122531b /functions | |
parent | cb7619cc43e7096807dcddff5554655d6d6aa4ff (diff) | |
download | phpicalendar-94fe29ec330109aa0cac8f748631ec11612027e9.tar.gz phpicalendar-94fe29ec330109aa0cac8f748631ec11612027e9.tar.bz2 phpicalendar-94fe29ec330109aa0cac8f748631ec11612027e9.zip |
Fix for Ximains lame problems. [ 846644 ] The Recurrence Bug.
Diffstat (limited to 'functions')
-rw-r--r-- | functions/ical_parser.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php index 1128b2c..0d9ae0a 100644 --- a/functions/ical_parser.php +++ b/functions/ical_parser.php @@ -330,6 +330,7 @@ foreach ($cal_filelist as $filename) { case 'UNTIL': $until = ereg_replace('T', '', $val); $until = ereg_replace('Z', '', $until); + if (strlen($until) == 8) $until = $until.'235959'; $abs_until = $until; ereg ('([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})', $until, $regs); $until = mktime($regs[4],$regs[5],$regs[6],$regs[2],$regs[3],$regs[1]); |