New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with laravel timezone #95
Comments
That's strange. PHP should always use the UTC timestamps in both Could you try out #98 ? This PR introduces time comparisons via Carbon
|
Thanks for the response, I tried the PR, I confirm it works with my time zone. |
<?php
// Europe/Berlin
echo date_default_timezone_get() . PHP_EOL;
// 1619729603
echo strtotime('2021-04-29 22:53:23') . PHP_EOL;
date_default_timezone_set('America/New_York');
// 1619751203
echo strtotime('2021-04-29 22:53:23') . PHP_EOL;
// 1619729603 !== 1619751203 |
First of all, thanks for the amazing package.
When I set app.php's zime zone to my local time zone, the eventsub webhook URL keeps throwing
SignatureVerificationException
with the messageTimestamp outside the tolerance zone
, it works when I set it back to Laravel's default though.Is this perhaps a problem on my side?
The text was updated successfully, but these errors were encountered: