mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +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
38056379a2
commit
1581547086
@ -2300,7 +2300,9 @@ class addressbook_bo extends addressbook_so
|
||||
}
|
||||
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));
|
||||
return $ctag;
|
||||
|
Loading…
Reference in New Issue
Block a user