Skip to content

Commit 009365d

Browse files
committed
MAGETWO-57835: [Github] Cannot save customer dob attribute if admin interface locale is en_GB #6323
1 parent 68a79d9 commit 009365d

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Ui/view/base/web/js/form/element

1 file changed

+2
-2
lines changed

app/code/Magento/Ui/view/base/web/js/form/element/date.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ define([
178178

179179
this.pickerDateTimeFormat = utils.convertToMomentFormat(this.pickerDateTimeFormat);
180180

181-
if (this.dateFormat) {
182-
this.inputDateFormat = this.dateFormat;
181+
if (this.options.dateFormat) {
182+
this.outputDateFormat = this.options.dateFormat;
183183
}
184184

185185
this.inputDateFormat = utils.convertToMomentFormat(this.inputDateFormat);

0 commit comments

Comments
 (0)