From 676156e2db5309290a3b88363a771a5c015ebbf8 Mon Sep 17 00:00:00 2001 From: Sergey Shcherbin Date: Wed, 7 Jun 2017 20:51:59 +0300 Subject: [PATCH] Changed date time format to RFC_3399 in VcsDriver --- src/Composer/Repository/Vcs/VcsDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Repository/Vcs/VcsDriver.php b/src/Composer/Repository/Vcs/VcsDriver.php index 3d7185a34..5227630f6 100644 --- a/src/Composer/Repository/Vcs/VcsDriver.php +++ b/src/Composer/Repository/Vcs/VcsDriver.php @@ -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;