mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-10 22:56:07 +00:00
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user