Fix regression, refs #9204
parent
badd1f2146
commit
8ad33298ff
|
@ -165,7 +165,7 @@ class FossilDriver extends VcsDriver
|
||||||
public function getChangeDate($identifier)
|
public function getChangeDate($identifier)
|
||||||
{
|
{
|
||||||
$this->process->execute('fossil finfo -b -n 1 composer.json', $output, $this->checkoutDir);
|
$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'));
|
return new \DateTime($date, new \DateTimeZone('UTC'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue