We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6b46a00 + 57ac7d3 commit 06b58a5Copy full SHA for 06b58a5
src/Command/RecipesCommand.php
@@ -226,7 +226,11 @@ private function displayPackageInformation(Recipe $recipe)
226
227
// show commits since one second after the currently-installed recipe
228
if (null !== $commitDate) {
229
- $historyUrl .= '?since='.(new \DateTime($commitDate))->modify('+1 seconds')->format('c\Z');
+ $historyUrl .= '?since=';
230
+ $historyUrl .= (new \DateTime($commitDate))
231
+ ->setTimezone(new \DateTimeZone('UTC'))
232
+ ->modify('+1 seconds')
233
+ ->format('Y-m-d\TH:i:s\Z');
234
}
235
236
$io->write('<info>recipe history</info> : '.$historyUrl);
0 commit comments