DEV Community

Mukund Bharti
Mukund Bharti

Posted on

How to format Vue JS DateTime picker input date

I need to make a DateTime picker using Vue in Laravel and I found this one https://github.com/mariomka/vue-datetime. It's quite nice.

The problem is that when the data is sent to the server, Carbon\Carbon cries out saying Unexpected data found. Trailing data and InvalidArgumentException.

I suspect it's because of the…

Top comments (0)