Skip to content

Commit

Permalink
Fixes Smile-SA#12 Issue with config defined locale
Browse files Browse the repository at this point in the history
altering the stored UTC date when formatting it for export.
  • Loading branch information
rbayet committed Mar 4, 2021
1 parent 72e24fd commit 6d7977b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private function getBody($items):string
$data = [];

foreach ($items as $item) {
$createdAtDate = $this->dateTime->date($item[BeaconBeepInterface::CREATED_AT_DATE]);
$createdAtDate = $this->dateTime->date(new \DateTime($item[BeaconBeepInterface::CREATED_AT_DATE]));
$data[] = [
BeaconBeepInterface::CLIENT_ID => $item[BeaconBeepInterface::CLIENT_ID],
BeaconBeepInterface::HOST_ID => $item[BeaconBeepInterface::HOST_ID],
Expand Down

0 comments on commit 6d7977b

Please sign in to comment.