Template:User time zone editnotice
Usage
[edit]This is a user talk page editnotice that gives your local time, to help visitors know when they might expect a reply. It takes one mandatory unnamed parameter, your time zone, e.g. EST. It also takes an optional unnamed parameter to disable automatic DST conversion.
Time zones with explicit *DT variants
[edit]{{User time zone editnotice|EDT}}gives{{User time zone editnotice|EDT|no}}gives{{User time zone editnotice|EST}}gives{{User time zone editnotice|EST|no}}gives
Other time zones
[edit]{{User time zone editnotice|GMT}}gives{{User time zone editnotice|GMT|no}}gives{{User time zone editnotice|BST}}gives{{User time zone editnotice|BST|no}}gives
Supported time zones
[edit]From the list of time zone abbreviations, the following time zones are currently supported:
| Abbreviations | Name | DST currently active?{{Daylight saving active}}
|
UTC offset h: {{Current hour offset in time zone}}; m: {{Current minute offset in time zone}}
|
Time []{{Current hour in time zone}}:{{Current minute in time zone}}
|
Notes for UTC offset and time | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| With DST rule | |dst=no)
|
|dst=no)
|
With DST rule | |dst=no)
|
|dst=no)
| |||||
| HST | Hawaii Standard Time | h: -10; m: 0 | h: -10; m: 0 | 16:32 | 16:32 | When dst is NOT set to "no", the *T, *ST and *DT variants of a particular time zone will produce the same output and can be used interchangeably.
Otherwise (when using DST is not observed in Hawaii and in Saskatchewan (except Lloydminster, SK, where MST/MDT is observed). | ||||
| HAT or HAST | HADT | Hawaii-Aleutian Standard/ |
h: -9; m: 0 | h: -10; m: 0 | h: -9; m: 0 | 17:32 | 16:32 | 17:32 | ||
| AKT or AKST | AKDT | Alaska Standard/ |
h: -8; m: 0 | h: -9; m: 0 | h: -8; m: 0 | 18:32 | 17:32 | 18:32 | ||
| PT or PST | PDT | Pacific Standard/ |
h: -7; m: 0 | h: -8; m: 0 | h: -7; m: 0 | 19:32 | 18:32 | 19:32 | ||
| MT or MST | MDT | Mountain Standard/ |
h: -6; m: 0 | h: -7; m: 0 | h: -6; m: 0 | 20:32 | 19:32 | 20:32 | ||
| SKT or SKST | Saskatchewan Standard Time | h: -6; m: 0 | h: -6; m: 0 | 20:32 | 20:32 | |||||
| CT or CST | CDT | Central Standard/ |
h: -5; m: 0 | h: -6; m: 0 | h: -5; m: 0 | 21:32 | 20:32 | 21:32 | ||
| ET or EST | EDT | Eastern Standard/ |
h: -4; m: 0 | h: -5; m: 0 | h: -4; m: 0 | 22:32 | 21:32 | 22:32 | ||
| AT or AST | ADT | Atlantic Standard/ |
h: -3; m: 0 | h: -4; m: 0 | h: -3; m: 0 | 23:32 | 22:32 | 23:32 | ||
| NT or NST | NDT | Newfoundland Standard/ |
h: -2; m: -30 | h: -3; m: -30 | h: -2; m: -30 | 00:02 | 23:02 | 00:02 | ||
| GMT | BST | Greenwich Mean Time / British Summer Time | h: 1; m: 0 | h: 0; m: 0 | h: 1; m: 0 | 03:32 | 02:32 | 03:32 | When dst is NOT set to "no", both the GMT and BST variants of this time zone will produce the same output and can be used interchangeably.
Otherwise (when using | |
| WET | WEST | Western European (Summer) Time | h: 1; m: 0 | h: 0; m: 0 | h: 1; m: 0 | 03:32 | 02:32 | 03:32 | When dst is NOT set to "no", both the *ET and *EST variants of a particular time zone will produce the same output and can be used interchangeably.
Otherwise (when using | |
| CET | CEST | Central European (Summer) Time | h: 2; m: 0 | h: 1; m: 0 | h: 2; m: 0 | 04:32 | 03:32 | 04:32 | ||
| EET | EEST | Eastern European (Summer) Time | h: 3; m: 0 | h: 2; m: 0 | h: 3; m: 0 | 05:32 | 04:32 | 05:32 | ||
| IST | Indian Standard Time | h: 5; m: 30 | h: 5; m: 30 | 08:02 | 08:02 | |||||
| AWT or AWST | Australian Western Standard Time | h: 8; m: 0 | h: 8; m: 0 | 10:32 | 10:32 | When dst is NOT set to "no", the *T, *ST and *DT variants of a particular time zone will produce the same output and can be used interchangeably.
Otherwise (when using DST is not observed in the AWT time zone. | ||||
| ACT or ACST | ACDT | Australian Central Standard/ |
h: 9; m: 30 | h: 9; m: 30 | h: 10; m: 30 | 12:02 | 12:02 | 13:02 | ||
| AET or AEST | AEDT | Australian Eastern Standard/ |
h: 10; m: 0 | h: 10; m: 0 | h: 11; m: 0 | 12:32 | 12:32 | 13:32 | ||
| KST | Korea Standard Time | h: 9; m: 0 | h: 9; m: 0 | 11:32 | 11:32 | DST is not observed in these time zones. It is not necessary to set dst.
| ||||
| JST | Japan Standard Time | h: 9; m: 0 | h: 9; m: 0 | 11:32 | 11:32 | |||||
| NZT or NZST | NZDT | New Zealand Standard/ |
h: 12; m: 0 | h: 12; m: 0 | h: 13; m: 0 | 14:32 | 14:32 | 15:32 | When dst is NOT set to "no", the NZT, NZST and NZDT variants of this time zone will produce the same output and can be used interchangeably.
Otherwise (when using | |
| Integer input (e.g. -10) | h: -10; m: -10 | h: -10; m: -10 | 16:22 | 16:22 | Uses the specified hours and the specified minutes as the UTC offset.
e.g. here with UTC−10:10 and UTC+08:08 offsets. | |||||
| Integer input (e.g. 8) | h: 8; m: 8 | h: 8; m: 8 | 10:40 | 10:40 | ||||||
| Empty input | h: 0; m: 0 | h: 0; m: 0 | 02:32 | 02:32 | Follows UTC | |||||
| Unrecognised string (e.g. FOO) | h: 0; m: 0 | h: 0; m: 0 | 02:32 | 02:32 | ||||||
TemplateData
[edit]User talk page editnotice that gives the user's local time
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Time zone | 1 | Time zone in which the user lives
| String | required |
| DST | 2 | Whether to make DST adjustments in the time
| String | optional |
| Location | 3 | Whether to display the user's approximate location
| String | optional |