mardi 4 octobre 2022

Wrong date and time showed

With this line:

<td><% district.created_at %></td>

I'm getting this output:

2022-08-06T09:14:58.000000Z

It should be like this:

2021-12-30 13:19:22

The correct printout is from Laravel 5.3 and the wrong from Laravel 9. What could be the problem and how to correct?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire