|
@@ -219,8 +219,8 @@ |
|
|
block discarded – undo |
|
219
|
219
|
} |
|
220
|
220
|
$eveFormat = 'Y-m-d H:i:sP'; |
|
221
|
221
|
$now = new \DateTimeImmutable('now', new \DateTimeZone('UTC')); |
|
222
|
|
- $current = \DateTimeImmutable::createFromFormat($eveFormat, $currentTime . '+00:00'); |
|
223
|
|
- $until = \DateTimeImmutable::createFromFormat($eveFormat, $cachedUntil . '+00:00'); |
|
|
222
|
+ $current = \DateTimeImmutable::createFromFormat($eveFormat, $currentTime.'+00:00'); |
|
|
223
|
+ $until = \DateTimeImmutable::createFromFormat($eveFormat, $cachedUntil.'+00:00'); |
|
224
|
224
|
if (false === $now || false === $current || false === $until) { |
|
225
|
225
|
$messagePrefix = 'Failed to get DateTime instance for "now" or currentTime or cachedUntil during the retrieval of'; |
|
226
|
226
|
$this->getYem() |
Please login to merge, or discard this patch.