Skip to content

Commit

Permalink
feat: add set date default timezone configure
Browse files Browse the repository at this point in the history
  • Loading branch information
SonyPradana committed Dec 11, 2024
1 parent b1bbef1 commit 3762b28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/System/Integrate/Bootstrap/ConfigProviders.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@ public function bootstrap(Application $app): void
}

$app->loadConfig(new ConfigRepository($config));

date_default_timezone_set($config['time_zone'] ?? 'UTC');
}
}

0 comments on commit 3762b28

Please sign in to comment.