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.
1 parent 7ad6b00 commit 2aafeceCopy full SHA for 2aafece
tests/StructuresTest.php
@@ -435,7 +435,7 @@ private function randomTimestamp(string $timezone = '+0000'): int
435
$end = new \DateTime('+3 years', $zone);
436
return rand($start->getTimestamp(), $end->getTimestamp());
437
} catch (Exception $e) {
438
- return time();
+ return strtotime('now ' . $timezone);
439
}
440
441
0 commit comments