Skip to content

Commit b947c12

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

File tree

1 file changed

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

1 file changed

+0
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,6 @@ define([
125125
shiftedValue = moment(value, dateFormat);
126126
}
127127

128-
if (!shiftedValue.isValid()) {
129-
shiftedValue = moment(value, this.inputDateFormat);
130-
}
131128
shiftedValue = shiftedValue.format(this.pickerDateTimeFormat);
132129

133130
if (shiftedValue !== this.shiftedValue()) {

0 commit comments

Comments
 (0)