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 | 15:40 | 15:40 | 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 | 16:40 | 15:40 | 16:40 | ||
| AKT or AKST | AKDT | Alaska Standard/ |
h: -8; m: 0 | h: -9; m: 0 | h: -8; m: 0 | 17:40 | 16:40 | 17:40 | ||
| PT or PST | PDT | Pacific Standard/ |
h: -7; m: 0 | h: -8; m: 0 | h: -7; m: 0 | 18:40 | 17:40 | 18:40 | ||
| MT or MST | MDT | Mountain Standard/ |
h: -6; m: 0 | h: -7; m: 0 | h: -6; m: 0 | 19:40 | 18:40 | 19:40 | ||
| SKT or SKST | Saskatchewan Standard Time | h: -6; m: 0 | h: -6; m: 0 | 19:40 | 19:40 | |||||
| CT or CST | CDT | Central Standard/ |
h: -5; m: 0 | h: -6; m: 0 | h: -5; m: 0 | 20:40 | 19:40 | 20:40 | ||
| ET or EST | EDT | Eastern Standard/ |
h: -4; m: 0 | h: -5; m: 0 | h: -4; m: 0 | 21:40 | 20:40 | 21:40 | ||
| AT or AST | ADT | Atlantic Standard/ |
h: -3; m: 0 | h: -4; m: 0 | h: -3; m: 0 | 22:40 | 21:40 | 22:40 | ||
| NT or NST | NDT | Newfoundland Standard/ |
h: -2; m: -30 | h: -3; m: -30 | h: -2; m: -30 | 23:10 | 22:10 | 23:10 | ||
| GMT | BST | Greenwich Mean Time / British Summer Time | h: 1; m: 0 | h: 0; m: 0 | h: 1; m: 0 | 02:40 | 01:40 | 02:40 | 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 | 02:40 | 01:40 | 02:40 | 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 | 03:40 | 02:40 | 03:40 | ||
| EET | EEST | Eastern European (Summer) Time | h: 3; m: 0 | h: 2; m: 0 | h: 3; m: 0 | 04:40 | 03:40 | 04:40 | ||
| IST | Indian Standard Time | h: 5; m: 30 | h: 5; m: 30 | 07:10 | 07:10 | |||||
| AWT or AWST | Australian Western Standard Time | h: 8; m: 0 | h: 8; m: 0 | 09:40 | 09:40 | 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: 10; m: 30 | h: 9; m: 30 | h: 10; m: 30 | 12:10 | 11:10 | 12:10 | ||
| AET or AEST | AEDT | Australian Eastern Standard/ |
h: 11; m: 0 | h: 10; m: 0 | h: 11; m: 0 | 12:40 | 11:40 | 12:40 | ||
| KST | Korea Standard Time | h: 9; m: 0 | h: 9; m: 0 | 10:40 | 10:40 | 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 | 10:40 | 10:40 | |||||
| NZT or NZST | NZDT | New Zealand Standard/ |
h: 13; m: 0 | h: 12; m: 0 | h: 13; m: 0 | 14:40 | 13:40 | 14:40 | 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 | 15:30 | 15:30 | 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 | 09:48 | 09:48 | ||||||
| Empty input | h: 0; m: 0 | h: 0; m: 0 | 01:40 | 01:40 | Follows UTC | |||||
| Unrecognised string (e.g. FOO) | h: 0; m: 0 | h: 0; m: 0 | 01:40 | 01:40 | ||||||
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 |