Skip to content

Commit 28679d9

Browse files
author
Oleksii Korshenko
authored
MAGETWO-82809: [Backport 2.2-develop] Fix datetime type product that show current date when is empty in grids #11749
2 parents d93fc3b + 85b5ed1 commit 28679d9

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
@@ -39,7 +39,7 @@ define([
3939
getLabel: function (value, format) {
4040
var date = moment(this._super());
4141

42-
date = date.isValid() ?
42+
date = date.isValid() && value[this.index] ?
4343
date.format(format || this.dateFormat) :
4444
'';
4545

0 commit comments

Comments
 (0)