Manual:$wgLocaltimezone

This page is a translated version of the page Manual:$wgLocaltimezone and the translation is 73% complete.
タイムゾーンの設定: $wgLocaltimezone
サーバーが認識しているタイムゾーンを偽装します。
導入されたバージョン:1.4.0 (r773)
除去されたバージョン:使用中
許容される値:(文字列) または null
既定値:null

詳細

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). この変数に null を設定すると、表示されるタイムゾーンがサーバーの既定値になります。

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

$wgLocaltimezone = 'UTC';
$wgLocaltimezone = 'Asia/Bangalore';
$wgLocaltimezone = 'America/New_York';
詳細は Manual:タイムゾーン を参照してください。


関連項目