File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
app/code/Magento/CustomerImportExport/Model/Export Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ class Customer extends \Magento\ImportExport\Model\Export\Entity\AbstractEav
27
27
28
28
const COLUMN_STORE = '_store ' ;
29
29
30
+ const COLUMN_CREATED_AT = 'created_at ' ;
31
+
30
32
/**
31
33
* Attribute collection name
32
34
*/
@@ -158,6 +160,11 @@ public function exportItem($item)
158
160
$ row = $ this ->_addAttributeValuesToRow ($ item );
159
161
$ row [self ::COLUMN_WEBSITE ] = $ this ->_websiteIdToCode [$ item ->getWebsiteId ()];
160
162
$ row [self ::COLUMN_STORE ] = $ this ->_storeIdToCode [$ item ->getStoreId ()];
163
+ $ row [self ::COLUMN_CREATED_AT ] = $ this ->_localeDate ->formatDate (
164
+ $ row [self ::COLUMN_CREATED_AT ],
165
+ \IntlDateFormatter::MEDIUM ,
166
+ true
167
+ );
161
168
162
169
$ this ->getWriter ()->writeRow ($ row );
163
170
}
You can’t perform that action at this time.
0 commit comments