mardi 26 septembre 2017

Laravel changing timezone not reflecting the correct time

I am changing the timezone into Asia/Singapore at config/app.php, but when I try to do a date("Y-m-d H:i:s"); the result is still in UTC.

Is there anything in Laravel that overrides that timezone that I set at config/app.php ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire