aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-11-21 17:01:57 +0000
committerChad Little <clittle@users.sourceforge.net>2003-11-21 17:01:57 +0000
commit94fe29ec330109aa0cac8f748631ec11612027e9 (patch)
tree88d0ab3ac5f0999c661eaf82fab910241122531b /functions
parentcb7619cc43e7096807dcddff5554655d6d6aa4ff (diff)
downloadphpicalendar-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.php1
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]);

© 2014-2024 Faster IT GmbH | imprint | privacy policy