mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
port to 4.1 date with time on phraseanet
This commit is contained in:
@@ -57,6 +57,9 @@ class DateFieldMapping extends ComplexFieldMapping
|
||||
*/
|
||||
protected function getProperties()
|
||||
{
|
||||
return array_merge([ 'format' => $this->format ], parent::getProperties());
|
||||
return array_merge([
|
||||
'format' => $this->format,
|
||||
'ignore_malformed' => true
|
||||
], parent::getProperties());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user