Wiki-Installationshürden: Unterschied zwischen den Versionen

Aus ThinkPad-Wiki
Zeile 14: Zeile 14:
This variable is currently used ONLY for signature formatting, not for
This variable is currently used ONLY for signature formatting, not for
anything else.
anything else.
 
<code>
# $wgLocaltimezone = 'GMT';
# $wgLocaltimezone = 'GMT';
# $wgLocaltimezone = 'PST8PDT';
# $wgLocaltimezone = 'PST8PDT';

Version vom 9. April 2008, 20:24 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…

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