From 390d9aa7b283bedb93744c4f316bd76aa4aa0fd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20Wei=C3=9F?= Date: Mon, 16 Jan 2006 08:27:21 +0000 Subject: [PATCH] fix from ralf: Improve improt of day-eventes from outlook --- calendar/inc/class.bocal.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.bocal.inc.php b/calendar/inc/class.bocal.inc.php index 72ccf73a4f..4c04ba60eb 100644 --- a/calendar/inc/class.bocal.inc.php +++ b/calendar/inc/class.bocal.inc.php @@ -970,7 +970,8 @@ class bocal $date['month'] = (int) substr($date['full'],4,2); $date['day'] = (int) substr($date['full'],6,2); } - $date = adodb_mktime((int)$date['hour'],(int)$date['minute'],(int)$date['second'],(int)$date['month'],(int)$date['day'],(int)$date['year']); + $date = adodb_mktime((int)$date['hour'],(int)$date['minute'],(int)$date['second'],(int)$date['month'], + (int) (isset($date['day']) ? $date['day'] : $date['mday']),(int)$date['year']); break; case 'integer': // already a timestamp break;