Skip to content

Commit

Permalink
Merge pull request #219 from andronex/develop
Browse files Browse the repository at this point in the history
Update getlist.class.php
  • Loading branch information
ilyautkin authored Nov 30, 2021
2 parents de51f81 + 0eb71f9 commit 520eaaa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function prepareQueryBeforeCount(xPDOQuery $criteria)
public function prepareRow(xPDOObject $object)
{
$array = array_merge($object->toArray(), [
'date' => date($this->getProperty('dateFormat'), $object->get('date'))
'date' => date($this->getProperty('dateFormat'), $object->get('date') + $this->modx->getOption('server_offset_time') * 3600)
]);

$values = $object->get('values');
Expand Down

0 comments on commit 520eaaa

Please sign in to comment.