From b3f424fa281df1fc1cd9971084d58c9d9c23da44 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 23 Oct 2021 11:21:48 +0200 Subject: [PATCH] Switch to timezone, not UTC --- app/Support/Steam.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Support/Steam.php b/app/Support/Steam.php index cf911f9a15..c6ad2e51ac 100644 --- a/app/Support/Steam.php +++ b/app/Support/Steam.php @@ -406,7 +406,7 @@ class Steam ->get(['transactions.account_id', DB::raw('MAX(transaction_journals.date) AS max_date')]); // @phpstan-ignore-line foreach ($set as $entry) { - $date = new Carbon($entry->max_date, 'UTC'); + $date = new Carbon($entry->max_date, config('app.timezone')); $date->setTimezone(config('app.timezone')); $list[(int)$entry->account_id] = $date; }