Support the ongoing development of →
posted 9 years ago
Last updated 1 year ago.

All time functions is using the timezone you set in config/app.php, and so will Carbon.

	| Application Timezone
	| Here you may specify the default timezone for your application, which
	| will be used by the PHP date and date-time functions. We have gone
	| ahead and set this to a sensible default for you out of the box.

	'timezone' => 'Europe/Stockholm',
Last updated 1 year ago.

maybe it should be better to use ini_get('date.timezone') instead of hardcode to use value from php config:

'timezone'        => ini_get('date.timezone'),

Sign in to participate in this thread!


Your banner here too?

closca closca Joined 9 Feb 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 - All rights reserved.