mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
Better call to date.
This commit is contained in:
@@ -71,7 +71,7 @@ class TransactionGroupTwig extends AbstractExtension
|
||||
->whereNull('deleted_at')
|
||||
->first();
|
||||
if (null === $entry) {
|
||||
return new Carbon;
|
||||
return today(config('app.timezone'));
|
||||
}
|
||||
|
||||
return new Carbon(json_decode($entry->data, false));
|
||||
|
Reference in New Issue
Block a user