Skip to content

Commit 117e2b9

Browse files
committed
MAGETWO-39201: Refactoring and UnitTest Coverage \Magento\Reports\Block\Adminhtml\Sales\Grid\Column\Renderer\Date
1 parent 4f24882 commit 117e2b9

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/Reports/Block/Adminhtml/Sales/Grid/Column/Renderer

1 file changed

+1
-2
lines changed

app/code/Magento/Reports/Block/Adminhtml/Sales/Grid/Column/Renderer/Date.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ public function render(\Magento\Framework\Object $row)
7979
} else {
8080
$date = $this->_localeDate->date(new \DateTime($data), null, false);
8181
}
82-
$result = \IntlDateFormatter::formatObject($date, $format);
83-
return $result;
82+
return \IntlDateFormatter::formatObject($date, $format);
8483
}
8584
return $this->getColumn()->getDefault();
8685
}

0 commit comments

Comments
 (0)