diff --git a/addressbook/inc/class.addressbook_bo.inc.php b/addressbook/inc/class.addressbook_bo.inc.php index de6b05e730..e7350e1680 100755 --- a/addressbook/inc/class.addressbook_bo.inc.php +++ b/addressbook/inc/class.addressbook_bo.inc.php @@ -2266,7 +2266,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;