Answers for "set laravel local time to indonesia"

PHP
0

set laravel local time to indonesia

## AppServiceProvider.php

public function boot()
{
	config(['app.locale' => 'id']);
	Carbon::setLocale('id');
	date_default_timezone_set('Asia/Jakarta');
}
Posted by: Guest on September-17-2021

Browse Popular Code Answers by Language