mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 22:43:19 +00:00
Merge with master
This commit is contained in:
@@ -353,7 +353,7 @@ class searchEngine_options implements Serializable
|
||||
{
|
||||
if (!is_null($min_date) && trim($min_date) !== '')
|
||||
{
|
||||
$this->date_min = new DateTime($min_date);
|
||||
$this->date_min = DateTime::createFromFormat('d/m/Y h:i:s', $min_date.' 00:00:00');
|
||||
}
|
||||
|
||||
return $this;
|
||||
@@ -377,7 +377,7 @@ class searchEngine_options implements Serializable
|
||||
{
|
||||
if (!is_null($max_date) && trim($max_date) !== '')
|
||||
{
|
||||
$this->date_max = new DateTime($max_date);
|
||||
$this->date_max = DateTime::createFromFormat('d/m/Y h:i:s', $max_date.' 23:59:59');
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
Reference in New Issue
Block a user