aboutsummaryrefslogtreecommitdiffstats
path: root/functions/date_functions.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2006-11-12 08:06:30 +0000
committerJim Hu <jimhu@users.sourceforge.net>2006-11-12 08:06:30 +0000
commit9c2a7b8f2965adc322e74c7d6262e754aaae833d (patch)
treee866c2ea1f5126184f58a9235e1fa8c7c54b6739 /functions/date_functions.php
parentc243d4aafdaea7617b2be768fa34bfb7e50714eb (diff)
downloadphpicalendar-9c2a7b8f2965adc322e74c7d6262e754aaae833d.tar.gz
phpicalendar-9c2a7b8f2965adc322e74c7d6262e754aaae833d.tar.bz2
phpicalendar-9c2a7b8f2965adc322e74c7d6262e754aaae833d.zip
roll back experimental feature
Diffstat (limited to 'functions/date_functions.php')
-rw-r--r--functions/date_functions.php2
1 files changed, 1 insertions, 1 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';

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