Add date creation to the default fields

[MAILPOET-3393]
This commit is contained in:
Pavel Dohnal
2021-03-01 15:06:02 +01:00
committed by Veljko V
parent 1e78769618
commit 5b56903eee
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ class ImportExportFactory {
return [
'id' => $fieldId,
'name' => $fieldName,
'type' => ($fieldId === 'confirmed_at') ? 'date' : null,
'type' => ($fieldId === 'confirmed_at' || $fieldId === 'created_at') ? 'date' : null,
'custom' => false,
];
}, array_keys($subscriberFields), $subscriberFields);