mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 17:33:45 +00:00
Better call to date.
This commit is contained in:
@@ -96,7 +96,7 @@ class CreateController extends Controller
|
||||
{
|
||||
$data = $request->getPiggyBankData();
|
||||
if (null === $data['startdate']) {
|
||||
$data['startdate'] = new Carbon;
|
||||
$data['startdate'] = today(config('app.timezone'));
|
||||
}
|
||||
$piggyBank = $this->piggyRepos->store($data);
|
||||
|
||||
|
Reference in New Issue
Block a user