An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: no manual timezones
Andras Bacsai4707f69b91ea
diff --git a/app/Livewire/Server/Form.php b/app/Livewire/Server/Form.phpindex c4f25c79d5..fe7fc60205 100644--- a/app/Livewire/Server/Form.php+++ b/app/Livewire/Server/Form.php@@ -245,7 +245,6 @@ class Form extends Component$newTimezone = $this->server->settings->server_timezone;if ($currentTimezone !== $newTimezone || $currentTimezone === '') {$this->server->settings->server_timezone = $newTimezone;- $this->server->settings->save();}$this->server->settings->save();$this->server->save();@@ -255,14 +254,6 @@ class Form extends Componentreturn handleError($e, $this);}}-- public function updatedServerSettingsServerTimezone($value)- {- $this->server->settings->server_timezone = $value;- $this->server->settings->save();- $this->dispatch('success', 'Server timezone updated.');- }-public function manualCleanup(){try {diff --git a/app/Livewire/Settings/Index.php b/app/Livewire/Settings/Index.phpindex 754f0929bd..eb492e6911 100644--- a/app/Livewire/Settings/Index.php+++ b/app/Livewire/Settings/Index.php@@ -28,6 +28,7 @@ class Index extends Componentprotected string $dynamic_config_path = '/data/coolify/proxy/dynamic';protected Server $server;+ public $timezones;protected $rules = ['settings.fqdn' => 'nullable',@@ -53,9 +54,9 @@ class Index extends Component'settings.is_auto_update_enabled' => 'Auto Update Enabled','auto_update_frequency' => 'Auto Update Frequency','update_check_frequency' => 'Update Check Frequency',+ 'settings.instance_timezone' => 'Instance Timezone',];- public $timezones;public function mount(){@@ -170,12 +171,6 @@ class Index extends Component}}- public function updatedSettingsInstanceTimezone($value)- {- $this->settings->instance_timezone = $value;- $this->settings->save();- $this->dispatch('success', 'Instance timezone updated.');- }public function render(){