8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8026b0c + a38ec34 commit cc4e1c1Copy full SHA for cc4e1c1
src/Symfony/Component/Messenger/Stamp/DelayStamp.php
@@ -33,7 +33,7 @@ public function getDelay(): int
33
34
public static function delayFor(\DateInterval $interval): self
35
{
36
- $now = new \DateTimeImmutable();
+ $now = new \DateTimeImmutable('now', new \DateTimeZone('UTC'));
37
$end = $now->add($interval);
38
39
return new self(($end->getTimestamp() - $now->getTimestamp()) * 1000);
0 commit comments