Inject dateBlock to services which use it
[MAILPOET-2665]
This commit is contained in:
committed by
Jack Kitterhing
parent
6827eb93e6
commit
dc5a296133
@@ -116,7 +116,7 @@ class CustomField extends Model {
|
||||
}
|
||||
|
||||
if (!empty($value)) {
|
||||
$value = Date::convertDateToDatetime($value, $dateFormat);
|
||||
$value = (new Date())->convertDateToDatetime($value, $dateFormat);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user