Skip to content

Commit

Permalink
MergeRequests::all: send datetimes with microsecond precision
Browse files Browse the repository at this point in the history
  • Loading branch information
janedbal authored Dec 14, 2023
1 parent 93f0181 commit 812bafa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Api/MergeRequests.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function all($project_id = null, array $parameters = [])
{
$resolver = $this->createOptionsResolver();
$datetimeNormalizer = function (Options $resolver, \DateTimeInterface $value): string {
return $value->format('c');
return $value->format('c.u');
};
$resolver->setDefined('iids')
->setAllowedTypes('iids', 'array')
Expand Down

0 comments on commit 812bafa

Please sign in to comment.