steffen: server/kolab-resource-handlers/kolab-resource-handlers/resmgr resmgr.php, 1.13, 1.14
cvs at intevation.de
cvs at intevation.de
Thu Sep 2 01:05:35 CEST 2004
Author: steffen
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr
In directory doto:/tmp/cvs-serv16198/kolab-resource-handlers/resmgr
Modified Files:
resmgr.php
Log Message:
fixes for Issue366 and Issue357
Index: resmgr.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr/resmgr.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- resmgr.php 31 Aug 2004 03:55:31 -0000 1.13
+++ resmgr.php 1 Sep 2004 23:05:33 -0000 1.14
@@ -464,6 +464,9 @@
if (!is_a($itip->getAttribute('DESCRIPTION'), 'PEAR_error')) {
$itip_reply->setAttribute('DESCRIPTION', $itip->getAttribute('DESCRIPTION'));
}
+ if (!is_a($itip->getAttribute('LOCATION'), 'PEAR_error')) {
+ $itip_reply->setAttribute('LOCATION', $itip->getAttribute('LOCATION'));
+ }
$itip_reply->setAttribute('DTSTART', $itip->getAttribute('DTSTART'), array_pop($itip->getAttribute('DTSTART', true)));
if (!is_a($itip->getAttribute('DTEND'), 'PEAR_error')) {
$itip_reply->setAttribute('DTEND', $itip->getAttribute('DTEND'), array_pop($itip->getAttribute('DTEND', true)));
@@ -640,7 +643,7 @@
function iCalDate2Kolab($ical_date)
{
// $ical_date should be a timestamp
- return strftime('%Y-%m-%dT%H:%M:%SZ', $ical_date);
+ return gmstrftime('%Y-%m-%dT%H:%M:%SZ', $ical_date);
}
function &buildKolabEvent()
More information about the commits
mailing list