diff --git a/api/src/Storage/Tracking.php b/api/src/Storage/Tracking.php index 8c82978d48..6324b89a26 100644 --- a/api/src/Storage/Tracking.php +++ b/api/src/Storage/Tracking.php @@ -533,7 +533,9 @@ abstract class Tracking if ($data[$name] == $old[$name]) continue; } } - elseif (str_replace("\r", '', $old[$name]) == str_replace("\r", '', $data[$name])) + elseif ($old[$name] == $data[$name] || + is_a($data[$name], \DateTime) ? (new Api\DateTime($old[$name], $data[$name]->getTimezone())) == $data[$name] : + str_replace("\r", '', $old[$name]) == str_replace("\r", '', $data[$name])) { continue; // change only in CR (eg. different OS) --> ignore }