Boubou
6 months ago
809
5
Laravel

Form vue to Laravel Validator - best way to deal with the dates

Posted 6 months ago by Boubou

Hello,

I am receiving my dates from Vue.js as: Mon Mar 30 2020 19:43:32 GMT+0200 (Central European Summer Time)

And would like Laravel to parse this in the Laravel format used for Mysql.

What is the best please to do this before getting to the validator?

Thank you.

Please sign in or create an account to participate in this conversation.