A CRUD Generator Package For Laravel, Make a CRUD Faster

If you found CRUDBooster Helpful, Amazing, and Awesome, please share to 1.5K Facebook 1K Twitter

I have a date field in a form that is in the format dd / mm / yyyy and I need to do its validation.

I analyzed the framework and realized that crudbooster uses the Validator class of laravel and uses the trait ValidatesAttributes.

In the function validateDate the php date_parse () function is used, which analyzes the date.

However, this function uses the mm / dd / yyyy format.

And because of this the validation fails.

How can I make my date validations in the format dd / mm / yyyy?

Thank you very much

Fernando Salles


Add comment to this question

This thread seems helpful: https://github.com/crocodic-studio/crudbooster/issues/960

Answered by Guru By Design at Nov, 29 2017 12:54

Add comment to this answer

Answer This Question