File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/CatalogImportExport/Model/Export Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \CatalogImportExport \Model \Export ;
7
7
8
+ use Magento \Framework \DB \Ddl \Table ;
8
9
use Magento \ImportExport \Model \Import ;
9
10
use \Magento \Store \Model \Store ;
10
11
use \Magento \CatalogImportExport \Model \Import \Product as ImportProduct ;
@@ -921,9 +922,8 @@ protected function collectRawData()
921
922
}
922
923
$ fieldName = isset ($ this ->_fieldsMap [$ code ]) ? $ this ->_fieldsMap [$ code ] : $ code ;
923
924
924
- if ($ this ->_attributeTypes [$ code ] === 'datetime ' ) {
925
- if (
926
- in_array ($ code , $ this ->dateAttrCodes )
925
+ if ($ this ->_attributeTypes [$ code ] === Table::TYPE_DATETIME ) {
926
+ if (in_array ($ code , $ this ->dateAttrCodes )
927
927
|| in_array ($ code , $ this ->userDefinedAttributes )
928
928
) {
929
929
$ attrValue = $ this ->_localeDate ->formatDateTime (
You can’t perform that action at this time.
0 commit comments