Manual:$wgLocaltimezone

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgLocaltimezone and the translation is 44% complete.
Tidszonsinställningar: $wgLocaltimezone
Fake out the timezone that the server thinks it's in.
Introducerad i version:1.4.0 (r773)
Borttagen i version:används fortfarande
Tillåtna värden:(sträng) eller null
Standardvärde:null

Detaljer

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 database. Setting the variable to null will set the displayed time zone to the server's default.

Examples
$wgLocaltimezone = 'GMT';
$wgLocaltimezone = 'EST';
$wgLocaltimezone = 'EST8'; ## -6 hrs instead of -5
$wgLocaltimezone = 'PST8PDT';
$wgLocaltimezone = 'Asia/Bangalore';
$wgLocaltimezone = 'America/New_York';
$wgLocaltimezone = 'CET';
Please refer to Manual:Timezone for more information.

Se även