Skip to content

Commit

Permalink
added new line according to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
satyaprakashpatel committed Feb 9, 2019
1 parent 119fe1e commit 9b46c95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/code/Magento/Ui/view/base/web/js/form/element/date.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ define([
dateFormat = this.shiftedValue() ? this.outputDateFormat : this.inputDateFormat;
shiftedValue = moment(value, dateFormat);
}

if (!shiftedValue.isValid()) {
shiftedValue = moment(value, this.inputDateFormat);
}
Expand Down

0 comments on commit 9b46c95

Please sign in to comment.