lundi 31 juillet 2017

How parse data from Carbon Laravel with VUEjs

I return from my backend one Model Object like:

$model = new MyModel();
$meeting->name = "name test n.".rand(0,10000);
$meeting->data = Carbon::NOW();

Now in my fronted created with VueJs, for property data I have:

{ "date": "2017-07-31 08:03:44.000000", "timezone_type": 3, "timezone": "UTC" }

But How Can i parse data from carbon with VueJs with format dd/mm/yyyy ?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2vXhbYk
via IFTTT

Aucun commentaire:

Enregistrer un commentaire