Fix date issue.

This commit is contained in:
James Cole
2021-12-28 20:42:50 +01:00
parent 3444146da3
commit 246fa0d6e4
18 changed files with 30 additions and 30 deletions

View File

@@ -43,10 +43,10 @@ class PiggyBankUpdateRequest extends FormRequest
{
return [
'name' => $this->string('name'),
'startdate' => $this->date('startdate'),
'startdate' => $this->getCarbonDate('startdate'),
'account_id' => $this->integer('account_id'),
'targetamount' => $this->string('targetamount'),
'targetdate' => $this->date('targetdate'),
'targetdate' => $this->getCarbonDate('targetdate'),
'notes' => $this->stringWithNewlines('notes'),
'object_group_title' => $this->string('object_group'),
];