Sorry about this but I am getting a error again.
"message": "The transaction date field must be a valid date.",
"errors": {
"transaction_date": [
"The transaction date field must be a valid date."
]
}
status: 422 Unprocessable Content
transaction_date 02-23-2023
useCarbon\Carbon;classTransactionextendsModel public function setTransactionDateAttribute($value){$this->attributes['transaction_date'] =Carbon::createFromFormat('m/d/Y', $value)->format('Y-m-d');}IfIcommentthisoutitworkbutthedatedoesnotchangeTheupdatemethadwillnotworkeithergetthesameerrormessage.
Sorry about this but I am getting a error again. "message": "The transaction date field must be a valid date.", "errors": { "transaction_date": [ "The transaction date field must be a valid date." ] } status: 422 Unprocessable Content transaction_date 02-23-2023
Fix for Laravel 10
please give us the source code of this course or the github link