Skip to content

Commit

Permalink
Merge pull request #2 from AleksandrsKondratjevs/issue-2341
Browse files Browse the repository at this point in the history
Return downloadable item date without time
  • Loading branch information
lianastaskevica authored Mar 26, 2021
2 parents 87aba7d + 00166c4 commit 8d7b8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Resolver/CustomerDownloadableProducts.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function resolve(

$productsData[] = [
'order_increment_id' => $purchasedProduct['order_increment_id'],
'date' => $purchasedProduct['created_at'],
'date' => explode(' ', $purchasedProduct['created_at'])[0],
'status' => $purchasedProduct['status'],
'title' => $purchasedProduct['product_name'],
'link_title' => $purchasedProduct['link_title'],
Expand Down

0 comments on commit 8d7b8b5

Please sign in to comment.