diff --git a/src/TableColumn/FilterModel/TypeDatetime.php b/src/TableColumn/FilterModel/TypeDatetime.php
index <HASH>..<HASH> 100644
--- a/src/TableColumn/FilterModel/TypeDatetime.php
+++ b/src/TableColumn/FilterModel/TypeDatetime.php
@@ -92,7 +92,7 @@ class TypeDatetime extends Generic
                     break;
                 case '!=':
                 case '=':
-                    $d1 = $this->getDatetime($filter['value'])->setTime(0, 0, 0);
+                    $d1 = clone $this->getDatetime($filter['value'])->setTime(0, 0, 0);
                     $d2 = $this->getDatetime($filter['value'])->setTime(23, 59, 59);
                     if ($d2 >= $d1) {
                         $value = $m->persistence->typecastSaveField($m->getField($filter['name']), $d1);
DateTime is object and working on same object is replacing both value… (#<I>)

* DateTime is object and working on same object is replacing both values to be same



This sets $d1 and $d2 both to "YYYY-mm-dd <I>:<I>:<I>" ...



* Apply fixes from StyleCI