From 2f2f0f5a47ed2b770c34ebf44e7e1a962c906f9e Mon Sep 17 00:00:00 2001 From: TravianZ Patcher Date: Wed, 3 Jun 2026 11:16:19 +0200 Subject: [PATCH] Add Swiss timezone (Europe/Zurich) to timezone selectors The timezone lists are hardcoded. Add "Europe (Switzerland)" = Europe/Zurich to: - Admin/Templates/editServerSet.tpl (admin: edit server settings) - install/templates/config.tpl (install wizard, index 14) - install/index.php (install wizard tz index->name mapping, case 14) Co-Authored-By: Claude Opus 4.8 --- Admin/Templates/editServerSet.tpl | 1 + install/index.php | 1 + install/templates/config.tpl | 1 + 3 files changed, 3 insertions(+) diff --git a/Admin/Templates/editServerSet.tpl b/Admin/Templates/editServerSet.tpl index 722df228..316f3b83 100644 --- a/Admin/Templates/editServerSet.tpl +++ b/Admin/Templates/editServerSet.tpl @@ -59,6 +59,7 @@ function refresh(tz) { + diff --git a/install/index.php b/install/index.php index 5998211b..9bd6b137 100644 --- a/install/index.php +++ b/install/index.php @@ -22,6 +22,7 @@ $tz=(isset($_GET['t']))? (int)$_GET['t'] : 8; case 11: $t_zone="Indian/Maldives";break; case 12: $t_zone="Pacific/Fiji";break; case 13: $t_zone="America/Sao_Paulo";break; + case 14: $t_zone="Europe/Zurich";break; default: $t_zone="America/Sao_Paulo";break; } date_default_timezone_set($t_zone); diff --git a/install/templates/config.tpl b/install/templates/config.tpl index 512f7ce8..29536999 100644 --- a/install/templates/config.tpl +++ b/install/templates/config.tpl @@ -101,6 +101,7 @@ $dbPrefix = $_SESSION['install_random_prefix']; +