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 252c686 commit 7f0f15aCopy full SHA for 7f0f15a
app/code/Magento/Ui/view/base/web/js/form/element/date.js
@@ -139,7 +139,7 @@ define([
139
if (shiftedValue) {
140
if (this.options.showsTime) {
141
var formattedValue = moment(shiftedValue).format('YYYY-MM-DD HH:mm');
142
- value = moment.tz(formattedValue, this.storeTimeZone).tz('UTC').format();
+ value = moment.tz(formattedValue, this.storeTimeZone).tz('UTC').toISOString();
143
} else {
144
value = moment(shiftedValue, this.pickerDateTimeFormat);
145
value = value.format(this.outputDateFormat);
0 commit comments