aboutsummaryrefslogtreecommitdiffstats
path: root/functions/ical_parser.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-26 22:33:33 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-26 22:33:33 +0000
commit13e49da76fb0cfca342765397a8a8ae7f20051b3 (patch)
tree7eb0eb91b005f69b7784d83ad880397c39c924de /functions/ical_parser.php
parentb4d635e784aa5589a34d3bbadaf3e93482fa4d33 (diff)
downloadphpicalendar-13e49da76fb0cfca342765397a8a8ae7f20051b3.tar.gz
phpicalendar-13e49da76fb0cfca342765397a8a8ae7f20051b3.tar.bz2
phpicalendar-13e49da76fb0cfca342765397a8a8ae7f20051b3.zip
revert event length display adjustment - messes up overlap calculations
Diffstat (limited to 'functions/ical_parser.php')
-rw-r--r--functions/ical_parser.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/ical_parser.php b/functions/ical_parser.php
index febe27f..0272da7 100644
--- a/functions/ical_parser.php
+++ b/functions/ical_parser.php
@@ -363,9 +363,9 @@ foreach ($cal_filelist as $cal_key=>$filename) {
$recur_unixtime = mktime($regs[4], $regs[5], 0, $regs[2], $regs[3], $regs[1]);
if (isset($recurrence_id['tzid'])) {
- $offset_tmp = chooseOffset($recur_unixtime, $recurrence_id['tzid']);
+ $offset_tmp = chooseOffset($recur_unixtime, $recurrence_id['tzid']);
} elseif (isset($calendar_tz)) {
- $offset_tmp = chooseOffset($recur_unixtime, $tz_array[$calendar_tz]);
+ $offset_tmp = chooseOffset($recur_unixtime, $calendar_tz);
} else {
$offset_tmp = $chooseOffset($recur_unixtime);
}

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