mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-16 18:25:00 -06:00
Switch to timezone, not UTC
This commit is contained in:
parent
ba740322f4
commit
b3f424fa28
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user