1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Changed date time format to RFC_3399 in VcsDriver

This commit is contained in:
Sergey Shcherbin 2017-06-07 20:51:59 +03:00
parent c890d660cd
commit 676156e2db

View file

@ -116,7 +116,7 @@ abstract class VcsDriver implements VcsDriverInterface
$composer = JsonFile::parseJson($composerFileContent, $identifier . ':composer.json');
if (empty($composer['time']) && $changeDate = $this->getChangeDate($identifier)) {
$composer['time'] = $changeDate->format('Y-m-d H:i:s');
$composer['time'] = $changeDate->format(DATE_RFC3339);
}
return $composer;