diff --git a/bridges/DealabsBridge.php b/bridges/DealabsBridge.php index 3427ca65..b64bb1dc 100644 --- a/bridges/DealabsBridge.php +++ b/bridges/DealabsBridge.php @@ -1376,8 +1376,11 @@ class PepperBridgeAbstract extends BridgeAbstract { // Add the Hour and minutes $date_str .= ' 00:00'; - $date = DateTime::createFromFormat('j F Y H:i', $date_str); + // In some case, the date is not recognized : as a workaround the actual date is taken + if($date === false) { + $date = new DateTime(); + } return $date->getTimestamp(); }