This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in file App\Providers\AppServiceProvider | |
dont forget add carbon | |
use Carbon\Carbon; | |
public function boot() | |
{ | |
config(['app.locale' => 'id']); | |
Carbon::setLocale('id'); | |
date_default_timezone_set('Asia/Jakarta'); |