Jump to content

Template:Current minute offset in time zone and Template:Current minute offset in time zone/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
m Protected "Template:Current minute offset in time zone": High-risk template or module: 311 transclusions (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite))
 
Created page with '<!-- --><noinclude> *{{Current minute offset in time zone|ABT}} </noinclude>'
 
Line 1: Line 1:
<!--
<!--
HOW TO ADD A TIME ZONE


* Add a pipe (|) chain with all the abbreviations of the time zone,
including both the standard time abbreviation(s) and daylight saving
time abbreviation, ending the line with an equal sign (=) followed
by the minute offset from UTC during /standard/ time.


Example: |abbr1|abbr2|abbr3=-30


* Update the documentation.


--><noinclude>
* Add the time zone to Template:Current_hour_offset_in_time_zone.
*{{Current minute offset in time zone|ABT}}

</noinclude>

NOTE: Time zones with 0 offset are included for completeness.

-->{{#switch:{{uc:{{{1|}}}}}

<!--Hawaii Standard Time-->
|HST=0

<!--Hawaii-Aleutian Time-->
|HAT|HAST|HADT=0

<!--Alaska Time-->
|AKT|AKST|AKDT=0

<!--Pacific Time (Northern America)-->
|PT|PST|PDT=0

<!--Mountain Time (Northern America)-->
|MT|MST|MDT=0

<!--Saskatchewan Time (except Lloydminster, SK) (Canada)-->
|SKT|SKST=0

<!--Central Time (Northern America)-->
|CT|CST|CDT=0

<!--Eastern Time (Northern America)-->
|ET|EST|EDT=0

<!--Atlantic Time-->
|AT|AST|ADT=0

<!--Newfoundland Time-->
|NT|NST|NDT=-30

<!--Greenwich Mean Time / British Summer Time (same as WET / WEST)-->
|GMT|BST=0

<!--Western European Time-->
|WET|WEST=0

<!--Central European Time-->
|CET|CEST=0

<!--Eastern European Time-->
|EET|EEST=0

<!--Australian Western Time-->
|AWT|AWST=0

<!--Australian Central Time-->
|ACT|ACST|ACDT=30

<!--Australian Eastern Time-->
|AET|AEST|AEDT=0

<!--Korea Standard Time-->
|KST=0

<!--Japan Standard Time-->
|JST=0

<!--New Zealand Time-->
|NZT|NZST|NZDT=0

<!--default (input offset, or otherwise 0)-->
|{{#iferror:{{#time:i|-{{{1|0}}} minutes}}|0|{{{1|0}}}}}
}}<noinclude>
{{documentation}}
[[Category:Date-computing templates based on current time]]</noinclude>