Skip to content

Commit e874c7d

Browse files
author
Oleksii Korshenko
committed
MAGETWO-69909: By default, show times in admin grids in the store timezone. #9941
- Merge Pull Request #9941 from ajpevers/magento2:issue-9426 - Merged commits: 1. 049cc45
2 parents 04b3b52 + 049cc45 commit e874c7d

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)