Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // App\Providers\AppServiceProvider
- public function boot()
- {
- config(['app.locale' => 'id']);
- Carbon::setLocale('id');
- date_default_timezone_set('Asia/Jakarta');
- }
- // config/app.php
- 'timezone' => 'Asia/Jakarta',
- 'locale' => 'id',
- 'faker_locale' => 'id_ID',
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement