mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +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
|
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