Force dates to be UTC
parent
85a07affd7
commit
0daa6c2dc9
|
@ -90,7 +90,9 @@ class ArrayLoader
|
|||
|
||||
if (!empty($config['time'])) {
|
||||
try {
|
||||
$package->setReleaseDate(new \DateTime($config['time']));
|
||||
$date = new \DateTime($config['time']);
|
||||
$date->setTimezone(new \DateTimeZone('UTC'));
|
||||
$package->setReleaseDate($date);
|
||||
} catch (\Exception $e) {
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue