1
0
Fork 0

Fix regression, refs #9204

pull/9279/head
Jordi Boggiano 2020-10-13 12:50:58 +02:00
parent badd1f2146
commit 8ad33298ff
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -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'));
}