Skip to content

Commit d629085

Browse files
committed
MC-23729: Invalid date when timeOnly defined on datetime UIComponent.
1 parent 53b893f commit d629085

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ define([
181181
this.pickerDateTimeFormat = this.options.timeFormat;
182182
} else {
183183
this.pickerDateTimeFormat = this.options.dateFormat;
184+
184185
if (this.options.showsTime) {
185186
this.pickerDateTimeFormat += ' ' + this.options.timeFormat;
186187
}

0 commit comments

Comments
 (0)