Manual:Timezone/de

Die Standardzeitzone (tz) für Benutzer die keine eigene Zeitzone festgelegt haben kann manuell eingestellt werden.

Primärmethode

 * Erstelle eine Sicherungskopie der Datei die im Installationsverzeichnis gefunden werden kann.
 * Bearbeite die LocalSettings.php und füge folgenden Code hinzu:


 * Setze den Wert auf einen geeigneten Wert welchen man hier finden kann. Siehe Beispiele unten.

Diese Zeitzone wird genutzt in:
 * ~ Signaturen
 * Zeitstempel in den letzten Änderungen
 * Zeitstempel in der Versionsgeschichte

Hinzufügen diese Codes zu der LocalSettings.php erzeugt einen Konflikt mit den RSS Feed Daten in. Siehe Diskussionsseite der Extension:RSS für mehr Informationen

Alternative Methode
This method has been confirmed by multiple users in situations where the primary method has not worked.

Alternative methods
If you just want to use the local time of your PC, you can add this line in your LocalSettings.php. This method is what MediaWiki does by default (see includes/Setup.php); it also avoids problems with daylight savings time:

Unconfirmed methods

 * To use your local time zone (say NZDT) put this in LocalSettings.php


 * This example may also work


 * In this case the primary method did not take daylight savings time into account. The example below works:


 * To make it work in 1.5.8, specify the offset in hours, so change all occurrences of '/ 60' to '/ 3600', for example.

Combine it with the tip above to make daylight savings work.


 * This line is needed in 1.16. It applies to both anonymous and logged in users. Note that you will need to provide the correct values if you want the zone to be selected by default in the timezone dropdown:

The methods in this section are unconfirmed and may not work properly.

Manual timezone specification
The primary method needs the server to support the 'tz' database; some non-GNU hosts don't do that. However you can supply timezone data manually - unfortunately, only "GMT0" seems to work on Windows.

E.g. use


 * instead of


 * or


 * instead of

For details see


 * System configuration: Time Zones (List of time zones)
 * Specifying the Time Zone with TZ (general format)
 * timezones.conf.xml (another list of time zones)