Manual:$wgLocaltimezone/pt

From Linux Web Expert

Revision as of 13:11, 10 April 2024 by imported>Vinickw (Created page with "== Ver também ==")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Timezone settings</translate>: $wgLocaltimezone
Fake out the timezone that the server thinks it's in.
<translate> Introduced in version:</translate>1.4.0 (r773)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(string) or null
<translate> Default value:</translate>null

Details

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/Bangalore';
$wgLocaltimezone = 'America/New_York';
Please refer to Manual:Zona Horária for more information.


Ver também