diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2009-01-02 07:12:12 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2009-01-02 07:12:12 +0000 |
commit | c60246816752a18ba37b8f3508799acd17686b30 (patch) | |
tree | b010ee90fb0b568bd3a84f4f4c52b18b80d0645a /functions/parse/parse_tzs.php | |
parent | 281d63eedb805ec330a5572b85f48896981fca16 (diff) | |
download | phpicalendar-c60246816752a18ba37b8f3508799acd17686b30.tar.gz phpicalendar-c60246816752a18ba37b8f3508799acd17686b30.tar.bz2 phpicalendar-c60246816752a18ba37b8f3508799acd17686b30.zip |
add download event to event popup
Diffstat (limited to 'functions/parse/parse_tzs.php')
-rw-r--r-- | functions/parse/parse_tzs.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/functions/parse/parse_tzs.php b/functions/parse/parse_tzs.php index 8b02cb5..fb250b2 100644 --- a/functions/parse/parse_tzs.php +++ b/functions/parse/parse_tzs.php @@ -43,9 +43,10 @@ while (!feof($ifile)) { $is_daylight = false; break; case 'END:VTIMEZONE': + if (!isset($offset_d) && isset($offset_s)) $offset_d = $offset_s; $tz_array[$tz_id] = array( - 0 => $offset_s, - 1 => $offset_d, + 0 => @$offset_s, + 1 => @$offset_d, 'dt_start' => @$begin_daylight, 'st_start' => @$begin_std, 'st_name' => @$st_name, |