aboutsummaryrefslogtreecommitdiffstats
path: root/functions/date_functions.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2006-03-16 00:28:54 +0000
committerJim Hu <jimhu@users.sourceforge.net>2006-03-16 00:28:54 +0000
commit281851bf42f3a2503bded854ad593693e224a0b8 (patch)
tree8844666bbc5ee14be3465b35ac716aef50e13cbc /functions/date_functions.php
parent0a5d30c7787f8d3bed6aa06d5c5e97717c8c5065 (diff)
downloadphpicalendar-281851bf42f3a2503bded854ad593693e224a0b8.tar.gz
phpicalendar-281851bf42f3a2503bded854ad593693e224a0b8.tar.bz2
phpicalendar-281851bf42f3a2503bded854ad593693e224a0b8.zip
changes to fix several warnings and notices
Diffstat (limited to 'functions/date_functions.php')
-rw-r--r--functions/date_functions.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/functions/date_functions.php b/functions/date_functions.php
index a9ebcc7..8cc8f90 100644
--- a/functions/date_functions.php
+++ b/functions/date_functions.php
@@ -219,9 +219,7 @@ function extractDateTime($data, $property, $field) {
// Initialize values.
unset($unixtime, $date, $time, $allday);
- // What the heck is this doing in here?
- #$data = str_replace ('/softwarestudio.org/Olson_20011030_5/', '', $data);
-
+ $allday =''; #suppress error on returning undef.
// Check for zulu time.
$zulu_time = false;
if (substr($data,-1) == 'Z') $zulu_time = true;

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