diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2006-11-12 08:06:30 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2006-11-12 08:06:30 +0000 |
commit | 9c2a7b8f2965adc322e74c7d6262e754aaae833d (patch) | |
tree | e866c2ea1f5126184f58a9235e1fa8c7c54b6739 /functions | |
parent | c243d4aafdaea7617b2be768fa34bfb7e50714eb (diff) | |
download | phpicalendar-9c2a7b8f2965adc322e74c7d6262e754aaae833d.tar.gz phpicalendar-9c2a7b8f2965adc322e74c7d6262e754aaae833d.tar.bz2 phpicalendar-9c2a7b8f2965adc322e74c7d6262e754aaae833d.zip |
roll back experimental feature
Diffstat (limited to 'functions')
-rw-r--r-- | functions/date_functions.php | 2 | ||||
-rw-r--r-- | functions/init.inc.php | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/functions/date_functions.php b/functions/date_functions.php index 9c9bc30..83e51af 100644 --- a/functions/date_functions.php +++ b/functions/date_functions.php @@ -244,7 +244,7 @@ function extractDateTime($data, $property, $field) { // Pull out the timezone, or use GMT if zulu time was indicated. if (preg_match('/^'.$property.';TZID=/i', $field)) { $tz_tmp = explode('=', $field); - $tz_dt = $tz_tmp[1]; + $tz_dt = parse_tz($tz_tmp[1]); unset($tz_tmp); } elseif ($zulu_time) { $tz_dt = 'GMT'; diff --git a/functions/init.inc.php b/functions/init.inc.php index c554f81..83b540e 100644 --- a/functions/init.inc.php +++ b/functions/init.inc.php @@ -13,7 +13,6 @@ $ALL_CALENDARS_COMBINED = 'all_calendars_combined971'; // Pull in the configuration and some functions. if (!defined('BASE')) define('BASE', './'); -include_once(BASE.'default_config.inc.php'); include_once(BASE.'config.inc.php'); $cookie_name = 'phpicalendar_'.basename($default_path); |