Příručka:$wgLocaltimezone

This page is a translated version of the page Manual:$wgLocaltimezone and the translation is 100% complete.
Nastavení časové zóny: $wgLocaltimezone
Umožňuje nastavit pro wiki jinou časovou zónu, než tu používanou serverem.
Zavedeno od verze:1.4.0 (r773)
Odstraněno od verze:stále se používá
Povolené hodnoty:(řetězec) nebo null
Výchozí hodnota:null

Podrobnosti

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). Pokud nastavíte časovou zónu na null, bude se používat výchozí časová zóna nastavená na serveru.

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

Příklady
$wgLocaltimezone = 'UTC';
$wgLocaltimezone = 'Asia/Bangalore';
$wgLocaltimezone = 'America/New_York';
Více informací najdete na stránce Manual:Timezone .

Související stránky