From 8ad33298ffab611000975f360aca68a93e100a14 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 13 Oct 2020 12:50:58 +0200 Subject: [PATCH] Fix regression, refs #9204 --- src/Composer/Repository/Vcs/FossilDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Repository/Vcs/FossilDriver.php b/src/Composer/Repository/Vcs/FossilDriver.php index 30c087a6f..92fa316f4 100644 --- a/src/Composer/Repository/Vcs/FossilDriver.php +++ b/src/Composer/Repository/Vcs/FossilDriver.php @@ -165,7 +165,7 @@ class FossilDriver extends VcsDriver public function getChangeDate($identifier) { $this->process->execute('fossil finfo -b -n 1 composer.json', $output, $this->checkoutDir); - list(,$date) = explode(' ', trim($output), 2); + list(,$date) = explode(' ', trim($output), 3); return new \DateTime($date, new \DateTimeZone('UTC')); }