diff --git a/Containers/mastercontainer/start.sh b/Containers/mastercontainer/start.sh
index c0c37af25ab..e48a24cae97 100644
--- a/Containers/mastercontainer/start.sh
+++ b/Containers/mastercontainer/start.sh
@@ -304,8 +304,8 @@ E.g. https://internal.ip.of.this.server:8080
If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
https://your-domain-that-points-to-this-server.tld:8443"
-# Set the timezone to UTC
-export TZ=UTC
+# Set the timezone to Etc/UTC
+export TZ=Etc/UTC
# Fix apache startup
rm -f /var/run/apache2/httpd.pid
diff --git a/php/src/Docker/DockerActionManager.php b/php/src/Docker/DockerActionManager.php
index 913598462a2..ef2a972bac6 100644
--- a/php/src/Docker/DockerActionManager.php
+++ b/php/src/Docker/DockerActionManager.php
@@ -317,7 +317,7 @@ public function CreateContainer(Container $container) : void {
}
} elseif ($out[1] === 'TIMEZONE') {
if ($this->configurationManager->GetTimezone() === '') {
- $replacements[1] = 'UTC';
+ $replacements[1] = 'Etc/UTC';
} else {
$replacements[1] = $this->configurationManager->GetTimezone();
}
diff --git a/php/templates/containers.twig b/php/templates/containers.twig
index c5f170d700a..16307c721c2 100644
--- a/php/templates/containers.twig
+++ b/php/templates/containers.twig
@@ -629,7 +629,7 @@
- You need to make sure that the timezone that you enter is valid. An example is Europe/Berlin. You can get valid values by looking at the 'TZ database name' column of this list: click here.
+ You need to make sure that the timezone that you enter is valid. An example is Europe/Berlin. You can get valid values by looking at the 'TZ database name' column of this list: click here. The default is Etc/UTC if nothing is entered.
{% else %}
The timezone for Nextcloud is currently set to {{ timezone }}. You can reset the timezone again by clicking on the button below.