diff --git a/src/Utils/RequestBuilder.php b/src/Utils/RequestBuilder.php index 8a6ecb9..eb18664 100644 --- a/src/Utils/RequestBuilder.php +++ b/src/Utils/RequestBuilder.php @@ -11,6 +11,7 @@ class RequestBuilder protected $parameters = []; protected $dateFormat = 'Y-m-d'; + protected $dateTimeFormat = 'Y-m-d\TH:m:s\Z'; public function __construct( Builder $builder ) { $this->parameters['page'] = 0; @@ -99,7 +100,7 @@ public function notDeletedOnly() { * @return $this */ public function since( \DateTime $date ) { - $this->parameters['changesSince'] = $date->format( $this->dateFormat ); + $this->parameters['changesSince'] = $date->format($this->dateTimeFormat); return $this; }