Use correct attribute for pull request review ts
The timestamp for pull request reviews is 'submitted_at' instead of
'created_at' like most other objects. In addition, this attribute is not
documented at
Closes
@@ -472,7 +472,7 @@ class PullReview(models.GitHubCore):
self.state = self._get_attribute(preview, 'state')
#: datetime object representing when the event was created.
- self.created_at = self._strptime_attribute(preview, 'created_at')
+ self.submitted_at = self._strptime_attribute(preview, 'submitted_at')
#: Body text of the review
self.body = self._get_attribute(preview, 'body')
