Manual:$wgLocaltimezone

From mediawiki.org
This page is a translated version of the page Manual:$wgLocaltimezone and the translation is 45% complete.
Timezone settings: $wgLocaltimezone
Fake out the timezone that the server thinks it's in.
Introducido en la versión:1.4.0 (r773)
Eliminado en la versión:aún se usa
Valores permitidos:(string) or null
Valor predeterminado:null

Detalles

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.

Ejemplos
$wgLocaltimezone = 'UTC';
$wgLocaltimezone = 'Asia/Bangalore';
$wgLocaltimezone = 'America/New_York';
Nota: Véase Manual:Zona horaria para más información.


Véase también