Wiki-Installationshürden: Unterschied zwischen den Versionen

Aus ThinkPad-Wiki
Zeile 26: Zeile 26:
Ich kann eingeben, was ich will, GMT oder MEZ usw. Nichts verändert sich.
Ich kann eingeben, was ich will, GMT oder MEZ usw. Nichts verändert sich.


Wo liegt das Problem? --[[Benutzer:Dreamcatcher|Dreamcatcher]] 20:33, 9. Apr. 2008 (UTC)
Wo liegt das Problem? --[[Benutzer:Dreamcatcher|Dreamcatcher]] 20:45, 9. Apr. 2008 (UTC)

Version vom 9. April 2008, 20:45 Uhr

Zeitzonen Anpassung

Irgendwie klappt das nicht mit dem anpassen der Zeitzone.

In der DefaultSettings.php steht folgendes



Fake out the timezone that the server thinks it's in. This will be used for date display and not for what's stored in the DB. Leave to null to retain your server's OS-based timezone value. This is the same as the timezone.

This variable is currently used ONLY for signature formatting, not for anything else.

  1. $wgLocaltimezone = 'GMT';
  2. $wgLocaltimezone = 'PST8PDT';
  3. $wgLocaltimezone = 'Europe/Sweden';
  4. $wgLocaltimezone = 'CET';

$wgLocaltimezone = null;


Wenn ich in der LocalSettings.php $wgLocaltimezone = 'GMT'; eingebe, und nur da darf ich Änderungen reinschreiben, passiert nichts, grr…

Ich kann eingeben, was ich will, GMT oder MEZ usw. Nichts verändert sich.

Wo liegt das Problem? --Dreamcatcher 20:45, 9. Apr. 2008 (UTC)