We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
0000-00-00 00:00:00
1 parent d48faba commit f735e3dCopy full SHA for f735e3d
app/code/Magento/Ui/Component/Listing/Columns/Date.php
@@ -53,7 +53,9 @@ public function prepareDataSource(array $dataSource)
53
{
54
if (isset($dataSource['data']['items'])) {
55
foreach ($dataSource['data']['items'] as & $item) {
56
- if (isset($item[$this->getData('name')])) {
+ if (isset($item[$this->getData('name')])
57
+ && $item[$this->getData('name')] !== "0000-00-00 00:00:00"
58
+ ) {
59
$date = $this->timezone->date(new \DateTime($item[$this->getData('name')]));
60
$timezone = isset($this->getConfiguration()['timezone'])
61
? $this->booleanUtils->convert($this->getConfiguration()['timezone'])
0 commit comments