Timezone settings: $wgLocaltimezone | |
---|---|
Fake out the timezone that the server thinks it's in. |
|
Introduced in version: | 1.4.0 (r773) |
Removed in version: | still in use |
Allowed values: | (string) or null |
Default value: | null |
Other settings: Alphabetical | By function |
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:Timezone
for more information.See also
- Manual:$wgLocalTZoffset
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.