Difference between revisions of "Template:Infobox time zone (North America)/main"

From blackwiki
Jump to navigation Jump to search
imported>Zzyzx11
(noprint elements for the affected labels too)
imported>EX-Chute
m
Line 10: Line 10:
 
|label3  = {{{dtint|EDT}}}
 
|label3  = {{{dtint|EDT}}}
 
|data3    = [[{{{doff|UTC−04:00}}}]]
 
|data3    = [[{{{doff|UTC−04:00}}}]]
 +
|label4  = {{{ttint|ETT}}}
 +
|data4    = [[{{{toff|UTC−03:00}}}]]
 
|header6  = <span class="noprint">Current time ({{purge|Refresh the clock.}})</span>
 
|header6  = <span class="noprint">Current time ({{purge|Refresh the clock.}})</span>
|label8  = <span class="noprint">{{{dtint|EDT}}}</span>
+
|label8   = <span class="noprint">{{{ttint|ETT}}}</span>
|data8   = {{#ifeq:{{{dst}}}|1|<span class="noprint">{{12-hour time|offset={{{dtoff|-4 hours}}}|abbr=on|format={{{format|dmy}}}}}</span>}}
+
|data8    = {{#ifeq:{{{tst}}}|2|<span class="noprint">{{12-hour time|offset={{{ttoff|-3 hours}}}|abbr=on|format={{{format|dmy}}}}}</span>}}
 +
|label9   = <span class="noprint">{{{dtint|EDT}}}</span>
 +
|data9   = {{#ifeq:{{{dst}}}|1|<span class="noprint">{{12-hour time|offset={{{dtoff|-4 hours}}}|abbr=on|format={{{format|dmy}}}}}</span>}}
 
|label10  = <span class="noprint">{{{stint|EST}}}</span>
 
|label10  = <span class="noprint">{{{stint|EST}}}</span>
|data10    = {{#ifeq:{{{dst}}}{{{use}}}|1full||<span class="noprint">{{12-hour time|offset={{{stoff|-5 hours}}}|abbr=on|format={{{format|dmy}}}}}</span>}}
+
|data10    = {{#ifeq:{{{dst}}}{{{tst}}}{{{use}}}|1full||<span class="noprint">{{12-hour time|offset={{{stoff|-5 hours}}}|abbr=on|format={{{format|dmy}}}}}</span>}}
 
|header14 = Observance of DST  
 
|header14 = Observance of DST  
 
|data16  = DST is observed {{#ifeq:{{{use}}}|full|throughout|in certain regions of}} this time zone between the 2nd Sunday in March and the 1st Sunday in November.
 
|data16  = DST is observed {{#ifeq:{{{use}}}|full|throughout|in certain regions of}} this time zone between the 2nd Sunday in March and the 1st Sunday in November.
Line 25: Line 29:
 
|label24  = DST begins
 
|label24  = DST begins
 
|data24  = {{#ifeq:{{{dst}}}|2|{{#ifeq:{{{format}}}|mdy|Mar&nbsp;}}{{#expr:14-{{#time:w|0 Mar {{#expr:{{{year}}}+1}}}}}}{{#ifeq:{{{format}}}|mdy|,|&nbsp;Mar}} {{#expr:{{{year}}}+1}}}}
 
|data24  = {{#ifeq:{{{dst}}}|2|{{#ifeq:{{{format}}}|mdy|Mar&nbsp;}}{{#expr:14-{{#time:w|0 Mar {{#expr:{{{year}}}+1}}}}}}{{#ifeq:{{{format}}}|mdy|,|&nbsp;Mar}} {{#expr:{{{year}}}+1}}}}
 +
|header18 = Observance of TST
 +
|data30  = TST is observed {{#ifeq:{{{use}}}|full|throughout|in certain regions of}} this time zone between the 31st Sunday in May and the 2nd Sunday in August.
 +
|label32  = TST ended
 +
|data32  = {{#ifeq:{{{tst}}}|0|{{#ifeq:{{{format}}}|mdy|Aug&nbsp;}}{{#expr:8-{{#time:w|0 Aug {{#expr:{{{year}}}-1}}}}}}{{#ifeq:{{{format}}}|mdy|,|&nbsp;Aug}} {{#expr:{{{year}}}-1}}}}
 +
|label34  = TST {{#ifeq:{{{tst}}}|0|begins|began}}
 +
|data34  = {{#ifeq:{{{tst}}}|2||{{#ifeq:{{{format}}}|mdy|Jun&nbsp;}}{{#expr:12-{{#time:w|0 Jun}}}}{{#ifeq:{{{format}}}|mdy|,|&nbsp;Jun}} {{{year|}}}}}
 +
|label36  = TST {{#ifeq:{{{tst}}}|2|ended|ends}}
 +
|data36  = {{#ifeq:{{{tst}}}|0||{{#ifeq:{{{format}}}|mdy|Aug&nbsp;}}{{#expr:8-{{#time:w|0 Aug}}}}{{#ifeq:{{{format}}}|mdy|,|&nbsp;Aug}} {{{year|}}}}}
 +
|label38  = TST begins
 +
|data38  = {{#ifeq:{{{tst}}}|2|{{#ifeq:{{{format}}}|mdy|Jun&nbsp;}}{{#expr:12-{{#time:w|0 Jun {{#expr:{{{year}}}+1}}}}}}{{#ifeq:{{{format}}}|mdy|,|&nbsp;Jun}} {{#expr:{{{year}}}+1}}}}
 
}}
 
}}

Revision as of 14:29, 19 July 2016

UTC offset
ESTUTC−05:00
EDTUTC−04:00
ETTUTC−03:00
Current time (Script error: No such module "Purge".)
EST8:54 am on 21 Dec 2025
Observance of DST
DST is observed in certain regions of this time zone between the 2nd Sunday in March and the 1st Sunday in November.
Observance of TST
DST began9 Mar
DST ends2 Nov
TST is observed in certain regions of this time zone between the 31st Sunday in May and the 2nd Sunday in August.
TST began6 Jun
TST ends4 Aug