Manual:$wgLocaltimezone/sv

Category:MediaWiki configuration settings/sv#LocaltimezoneCategory:MediaWiki configuration settings introduced in version 1.4.0/sv#LocaltimezoneCategory:MediaWiki configuration settings still in use/sv#LocaltimezoneCategory:Timezone settings variables/sv#Localtimezone
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

Set the timezone for the wiki. It will be used when generating ~~~~ signatures, and as the default timezone for dates in page history, logs etc. (this can be overridden in user preferences). Setting the variable to null will set the displayed time zone to the server's default.

See https://www.php.net/timezones for the list of valid time zones.

Examples
$wgLocaltimezone = 'UTC';
$wgLocaltimezone = 'Asia/Kolkata';
$wgLocaltimezone = 'America/New_York';
Please refer to Manual:Timezone for more information.

Se även

Category:MediaWiki configuration settings/sv Category:MediaWiki configuration settings introduced in version 1.4.0/sv Category:MediaWiki configuration settings still in use/sv Category:Timezone settings variables/sv