Skip to content

Commit

Permalink
Merge pull request #92 from frankdors/patch-4
Browse files Browse the repository at this point in the history
Corrige formato de Data esperado em dateLastUpdated em Order.php
  • Loading branch information
dilowagner authored Nov 3, 2023
2 parents 3fe4163 + ec722a2 commit 3de2ae5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Resources/Order/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Order

/**
* @var \DateTime
* @JMS\Type("DateTime<'Y-m-d\TH:i:s.u+'>")
* @JMS\Type("DateTime<'Y-m-d\TH:i:s+'>")
*/
private $dateLastUpdated;

Expand Down Expand Up @@ -522,4 +522,4 @@ public function setTags($tags)
$this->tags = $tags;
return $this;
}
}
}
4 changes: 2 additions & 2 deletions tests/Resources/Order/orders.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"date_created": "2020-06-15T10:58:21.000-04:00",
"date_closed": "2020-06-15T10:58:23.000-04:00",
"expiration_date": "2020-07-13T10:58:23.000-04:00",
"date_last_updated": "2020-06-15T13:37:52.89Z",
"date_last_updated": "2023-05-31T19:33:51+00:00",
"hidden_for_seller": false,
"currency_id": "ARS",
"order_items": [
Expand Down Expand Up @@ -1074,4 +1074,4 @@
]
}
]
}
}

0 comments on commit 3de2ae5

Please sign in to comment.