Skip to content

Commit

Permalink
[Bug] Display timezone should be used for scheduled tests (#1472)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjustesen committed Jun 7, 2024
1 parent c673790 commit db72e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Actions/Speedtests/RunScheduledSpeedtests.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function handle(): void
{
$cronExpression = new CronExpression(config('speedtest.schedule'));

if (! $cronExpression->isDue(now()->timezone(config('app.timezone')))) {
if (! $cronExpression->isDue(now()->timezone(config('app.display_timezone')))) {
return;
}

Expand Down

0 comments on commit db72e6f

Please sign in to comment.