Laravel: setear TimeZone

En .env agregamos:
APP_TIMEZONE='America/Argentina/Buenos_Aires'

Modificamos config/app.php:
// 'timezone' => 'UTC',
'timezone' => env('APP_TIMEZONE', 'UTC'),

Por último para que tome los cambios:
php artisan config:clear

Deja un comentario