1
0
Fork 0

Merge remote-tracking branch 'origin/master'

pull/1155/head
Jordi Boggiano 2012-09-27 23:21:40 +02:00
commit ba2d7081bc
1 changed files with 1 additions and 2 deletions

View File

@ -136,8 +136,7 @@ class ArrayLoader implements LoaderInterface
if (!empty($config['time'])) {
try {
$date = new \DateTime($config['time']);
$date->setTimezone(new \DateTimeZone('UTC'));
$date = new \DateTime($config['time'], new \DateTimeZone('UTC'));
$package->setReleaseDate($date);
} catch (\Exception $e) {
}