Skip to content

Firefly III: a personal finances manager

Switch to timezone, not UTC

James Coleb3f424fa281d
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;
}