We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15f9a85 commit 7ac170aCopy full SHA for 7ac170a
app/code/Magento/Ui/view/base/web/js/form/element/date.js
@@ -129,13 +129,12 @@ define([
129
shiftedValue = moment(value, this.inputDateFormat);
130
}
131
shiftedValue = shiftedValue.format(this.pickerDateTimeFormat);
132
- } else {
133
- shiftedValue = this.shiftedValue();
134
- }
135
136
- if (shiftedValue !== this.shiftedValue()) {
137
- this.shiftedValue(shiftedValue);
+ if (shiftedValue !== this.shiftedValue()) {
+ this.shiftedValue(shiftedValue);
+ }
138
+
139
},
140
141
/**
0 commit comments