Skip to content

Commit

Permalink
Update 054_add_default_timezone_to_setting.php
Browse files Browse the repository at this point in the history
  • Loading branch information
tm8544 committed Apr 26, 2024
1 parent db6c127 commit 3105ae6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function up()
if (!$this->db->get_where('settings', ['name' => 'default_timezone'])->num_rows()) {
$this->db->insert('settings', [
'name' => 'default_timezone',
'value' => 'UTC',
'value' => date_default_timezone_get(),
]);
}
}
Expand Down

0 comments on commit 3105ae6

Please sign in to comment.