set laravel local time to indonesia

Solutions on MaxInterview for set laravel local time to indonesia by the best coders in the world

showing results for - "set laravel local time to indonesia"
Michela
15 Oct 2019
1## AppServiceProvider.php
2
3public function boot()
4{
5	config(['app.locale' => 'id']);
6	Carbon::setLocale('id');
7	date_default_timezone_set('Asia/Jakarta');
8}
similar questions
queries leading to this page
set laravel local time to indonesia