메뉴얼:$wgLocaltimezone

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgLocaltimezone and the translation is 56% complete.

Other languages:
English • ‎Nederlands • ‎dansk • ‎español • ‎français • ‎magyar • ‎polski • ‎português do Brasil • ‎čeština • ‎русский • ‎中文 • ‎日本語 • ‎한국어
Timezone settings: $wgLocaltimezone
Fake out the timezone that the server thinks it's in.
이 변수가 소개된 버전:1.4.0 (r773)
이 변수가 사라진 버전:계속해서 쓰이고 있음
허용값:(문자열) 또는 null
기본값:null

설명

Fake out the timezone that the server thinks it's in. This will be used for date display and not for what's stored in the database. Setting the variable to null will set the displayed time zone to the server's default.

예시들 (참고로 한국은 'Asia/Seoul')
$wgLocaltimezone = 'GMT';
$wgLocaltimezone = 'EST';
$wgLocaltimezone = 'EST8'; ## -6 hrs instead of -5
$wgLocaltimezone = 'PST8PDT';
$wgLocaltimezone = 'Asia/Bangalore';
$wgLocaltimezone = 'America/New_York';
$wgLocaltimezone = 'CET';
Please refer to Manual:Timezone for more information.

같이 보기