From b50e4fb6603040a077ea74b3cf64a60f56d0e807 Mon Sep 17 00:00:00 2001 From: cookie Date: Thu, 15 Nov 2007 16:38:20 +0000 Subject: [PATCH] xcal import an pentabarf angepasst git-svn-id: svn://svn.cccv.de/engel-system@253 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/inc/funktion_xml_schudle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www-ssl/inc/funktion_xml_schudle.php b/www-ssl/inc/funktion_xml_schudle.php index be39b231..7e40f260 100755 --- a/www-ssl/inc/funktion_xml_schudle.php +++ b/www-ssl/inc/funktion_xml_schudle.php @@ -139,7 +139,7 @@ foreach($XMLmain->sub as $EventKey => $Event) substr( getXMLsubData( $Event, "DTSTART"), 6, 2). " ". substr( getXMLsubData( $Event, "DTSTART"), 9, 2). ":". substr( getXMLsubData( $Event, "DTSTART"), 11,2). ":00"; - $LenXML = substr( getXMLsubData( $Event, "DURATION"), 0, strlen(getXMLsubData( $Event, "DURATION"))-1); + $LenXML = substr( getXMLsubData( $Event, "DURATION"), 0, 2) + ( substr( getXMLsubData( $Event, "DURATION"), 3, 2)/60); $RIDXML = getXMLsubData( $Event, "LOCATION"); $ManXML = getXMLsubData( $Event, "SUMMARY"); $URLXML = getXMLsubData( $Event, "URL");