php - How can I set Timezone in lumen 5.2? -


i did not find relevant information (only tricks) how set default timezone in lumen 5.2. there clean way this?

this pretty done , shown in documentation page:

to set configuration values @ runtime, pass array config helper:

config(['app.timezone' => 'america/chicago']); 

alternatively, in app/config.php:

'timezone' => 'utc', 

Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -