mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-02 04:43:46 +01:00
* CardDAV/Addressbook: fixed not working sync-collection report eg. by eMclient, if server-time is different from user
This commit is contained in:
parent
2c10872886
commit
764cd33ab4
@ -2266,7 +2266,9 @@ class addressbook_bo extends addressbook_so
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$ctag = $result[0]['modified'];
|
// need to convert modified time back to server-time (was converted to user-time by search)
|
||||||
|
// as we use it direct in server-queries eg. CardDAV sync-report and to be consistent with CalDAV
|
||||||
|
$ctag = egw_time::user2server($result[0]['modified']);
|
||||||
}
|
}
|
||||||
//error_log(__METHOD__.'('.array2string($owner).') returning '.array2string($ctag));
|
//error_log(__METHOD__.'('.array2string($owner).') returning '.array2string($ctag));
|
||||||
return $ctag;
|
return $ctag;
|
||||||
|
Loading…
Reference in New Issue
Block a user