Skip to content

Commit 436a4e6

Browse files
MAGETWO-83282: Backport 2.1-develop] Fix datetime type product that show current date when is empty in grids #12033
2 parents 9327ed5 + 1e066d9 commit 436a4e6

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Ui/view/base/web/js/grid/columns

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/view/base/web/js/grid/columns/date.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ define([
3535
getLabel: function (value, format) {
3636
var date = moment(this._super());
3737

38-
date = date.isValid() ?
38+
date = date.isValid() && value[this.index] ?
3939
date.format(format || this.dateFormat) :
4040
'';
4141

0 commit comments

Comments
 (0)