diff --git a/src/Command/RecipesCommand.php b/src/Command/RecipesCommand.php index e169cd7ce..c9fc1aee0 100644 --- a/src/Command/RecipesCommand.php +++ b/src/Command/RecipesCommand.php @@ -226,7 +226,11 @@ private function displayPackageInformation(Recipe $recipe) // show commits since one second after the currently-installed recipe if (null !== $commitDate) { - $historyUrl .= '?since='.(new \DateTime($commitDate))->modify('+1 seconds')->format('c\Z'); + $historyUrl .= '?since='; + $historyUrl .= (new \DateTime($commitDate)) + ->setTimezone(new \DateTimeZone('UTC')) + ->modify('+1 seconds') + ->format('Y-m-d\TH:i:s\Z'); } $io->write('recipe history : '.$historyUrl);