mercredi 23 septembre 2015

Laravel timezone not working on AWS ubuntu

I want to change the timezone of my project to IST. Which laravel 5 allows easily by changing project_root/config/app.php file. We just have to change 'timezone' => 'IST'.

Now if I do the same in my local, application works perfectly with IST timezone. But when I am trying to set the same on AWS EC2 instance it stores the data in DB in UTC format only. And when I retrieve then also it is still in UTC format.

What could be the problem?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire