diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-26 22:33:33 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-26 22:33:33 +0000 |
commit | 13e49da76fb0cfca342765397a8a8ae7f20051b3 (patch) | |
tree | 7eb0eb91b005f69b7784d83ad880397c39c924de /functions/date_functions.php | |
parent | b4d635e784aa5589a34d3bbadaf3e93482fa4d33 (diff) | |
download | phpicalendar-13e49da76fb0cfca342765397a8a8ae7f20051b3.tar.gz phpicalendar-13e49da76fb0cfca342765397a8a8ae7f20051b3.tar.bz2 phpicalendar-13e49da76fb0cfca342765397a8a8ae7f20051b3.zip |
revert event length display adjustment - messes up overlap calculations
Diffstat (limited to 'functions/date_functions.php')
-rw-r--r-- | functions/date_functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/date_functions.php b/functions/date_functions.php index 96e0c75..07950ec 100644 --- a/functions/date_functions.php +++ b/functions/date_functions.php @@ -145,7 +145,7 @@ function calcTime($have, $want, $time) { } function chooseOffset($time, $timezone = '') { - global $tz_array; + global $tz_array, $summary; switch ($timezone) { case '': $offset = 'none'; @@ -155,7 +155,7 @@ function chooseOffset($time, $timezone = '') { break; default: if (is_array($tz_array) && array_key_exists($timezone, $tz_array)) { - $dlst = is_daylight($time, $timezone); + $dlst = is_daylight($time, $timezone); $offset = $tz_array[$timezone][$dlst]; } else { $offset = '+0000'; |