Skip to content

Commit

Permalink
Add time zone for other database
Browse files Browse the repository at this point in the history
  • Loading branch information
kamshory committed Nov 22, 2024
1 parent 0271b2e commit 64a0132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/PicoDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ private function getDatabaseCredentialsFromPdo($pdo)
else {
// For other drivers, set schema and time zone to null (or handle it as needed)
$schema = null;
$timezone = null;
$timezone = date_default_timezone_get();
}

// Create and populate the SecretObject with the connection details
Expand Down

0 comments on commit 64a0132

Please sign in to comment.