Skip to content

Commit 7c483f2

Browse files
committed
MC-41756: Customer Address Attribute Date value saves wrong after address update
- Adding customer custom long date format amd test
1 parent f25fc03 commit 7c483f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Eav/Block/Adminhtml/Attribute/Edit/Main/AbstractMain.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ protected function _prepareForm()
201201
]
202202
);
203203

204-
$dateFormat = $this->_localeDate->getDateFormat(\IntlDateFormatter::SHORT);
204+
$dateFormat = $this->_localeDate->getDateFormatWithLongYear();
205205
$fieldset->addField(
206206
'default_value_date',
207207
'date',

0 commit comments

Comments
 (0)