Update 054_add_default_timezone_to_setting.php

This commit is contained in:
tm8544 2024-04-26 21:49:43 +03:00 committed by GitHub
parent db6c127d3b
commit 3105ae6db5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,7 +21,7 @@ class Migration_Add_default_timezone_setting extends EA_Migration
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(),
]);
}
}