summaryrefslogtreecommitdiff
path: root/www-ssl
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2007-11-15 16:38:20 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2007-11-15 16:38:20 +0000
commitb50e4fb6603040a077ea74b3cf64a60f56d0e807 (patch)
tree323577d35d4254a0dd0801fd558b5b09a8b0e96a /www-ssl
parentad563abb1d4c7470fcc3915b6fa15ffcd1b009e6 (diff)
xcal import an pentabarf angepasst
git-svn-id: svn://svn.cccv.de/engel-system@253 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl')
-rwxr-xr-xwww-ssl/inc/funktion_xml_schudle.php2
1 files changed, 1 insertions, 1 deletions
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");