From 9cc4b1667897ac0e9db28044d96e7b96a7ac38e5 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Sat, 20 Dec 2008 00:33:14 +0000 Subject: misc minor fixes --- functions/init/date_range.php | 2 +- functions/list_functions.php | 4 ++-- functions/parse/parse_tzs.php | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'functions') diff --git a/functions/init/date_range.php b/functions/init/date_range.php index 78b0db5..d7e4235 100644 --- a/functions/init/date_range.php +++ b/functions/init/date_range.php @@ -3,7 +3,7 @@ if (!isset($getdate)) { if (isset($_GET['getdate']) && ($_GET['getdate'] !== '')) { $getdate = $_GET['getdate']; } else { - $getdate = date('Ymd', time() + $second_offset); + $getdate = date('Ymd', time() + $phpIcal_config->second_offset); } } diff --git a/functions/list_functions.php b/functions/list_functions.php index 0ec2474..2775059 100644 --- a/functions/list_functions.php +++ b/functions/list_functions.php @@ -1,9 +1,9 @@ second_offset); $return = ''; $return .= ''; $return .= ''; diff --git a/functions/parse/parse_tzs.php b/functions/parse/parse_tzs.php index daafe33..c431d29 100644 --- a/functions/parse/parse_tzs.php +++ b/functions/parse/parse_tzs.php @@ -46,10 +46,10 @@ while (!feof($ifile)) { $tz_array[$tz_id] = array( 0 => $offset_s, 1 => $offset_d, - 'dt_start' => $begin_daylight, - 'st_start' => $begin_std, - 'st_name' => $st_name, - 'dt_name' => $dt_name + 'dt_start' => @$begin_daylight, + 'st_start' => @$begin_std, + 'st_name' => @$st_name, + 'dt_name' => @$dt_name ); #echo "
$tz_id"; print_r($tz_array[$tz_id]);echo"
"; break; -- cgit v1.2.3