Skip to content

Commit 1bcf43e

Browse files
author
Roman Lytvynenko
committed
MAGETWO-99832: Order grid saved view with Purchased date show Invalid date after switching views
1 parent 15100ac commit 1bcf43e

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ define([
126126
}
127127

128128
if (!shiftedValue.isValid()) {
129-
shiftedValue = moment(value, this.inputDateFormat);
129+
shiftedValue = moment(value, this.pickerDateTimeFormat);
130130
}
131131
shiftedValue = shiftedValue.format(this.pickerDateTimeFormat);
132132
} else {

0 commit comments

Comments
 (0)