Skip to content

Commit 015424a

Browse files
author
Oleksii Korshenko
authored
MAGETWO-69909: By default, show times in admin grids in the store timezone. #9941
2 parents b33f359 + e874c7d commit 015424a

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Ui/Component/Listing/Columns

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/Component/Listing/Columns/Date.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function prepareDataSource(array $dataSource)
5757
$date = $this->timezone->date(new \DateTime($item[$this->getData('name')]));
5858
$timezone = isset($this->getConfiguration()['timezone'])
5959
? $this->booleanUtils->convert($this->getConfiguration()['timezone'])
60-
: false;
60+
: true;
6161
if (!$timezone) {
6262
$date = new \DateTime($item[$this->getData('name')]);
6363
}

0 commit comments

Comments
 (0)