Skip to content

Commit 7891fa8

Browse files
MAGETWO-82721: Fix datetime type product that show current date when is empty in grids #11636
- Merge Pull Request #11636 from enriquei4/magento2:develop - Merged commits: 1. 3564aba
2 parents 9ed7081 + 3564aba commit 7891fa8

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)