From db72e6f8f51e9bbf825436bb7dd6c79012da7a8c Mon Sep 17 00:00:00 2001 From: Alex Justesen Date: Fri, 7 Jun 2024 09:55:45 -0400 Subject: [PATCH] [Bug] Display timezone should be used for scheduled tests (#1472) --- app/Actions/Speedtests/RunScheduledSpeedtests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Actions/Speedtests/RunScheduledSpeedtests.php b/app/Actions/Speedtests/RunScheduledSpeedtests.php index a91056e54..e3350e5b7 100644 --- a/app/Actions/Speedtests/RunScheduledSpeedtests.php +++ b/app/Actions/Speedtests/RunScheduledSpeedtests.php @@ -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; }