commit
de65199f31
|
@ -147,7 +147,7 @@ class ArrayLoader implements LoaderInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($config['time'])) {
|
if (!empty($config['time'])) {
|
||||||
$time = preg_match('/^\d+$/D', $config['time']) ? '@'.$config['time'] : $config['time'];
|
$time = preg_match('/^\d++$/D', $config['time']) ? '@'.$config['time'] : $config['time'];
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$date = new \DateTime($time, new \DateTimeZone('UTC'));
|
$date = new \DateTime($time, new \DateTimeZone('UTC'));
|
||||||
|
|
Loading…
Reference in New Issue