Difference between revisions of "Template:Current daylight saving offset in North America"

From blackwiki
Jump to navigation Jump to search
imported>Sceptre
imported>Sceptre
m (automated)
Line 1: Line 1:
<!--- This needs to be changed when "most of" North America changes back and forth between DST and NOT --->
+
{{#expr: {{CURRENTYEAR}}03{{#ifexpr: {{Nth weekday of month|{{CURRENTYEAR}}|3|0|2}} < 10 | 0}}{{Nth weekday of month|{{CURRENTYEAR}}|3|0|2}}060000 < {{CURRENTTIMESTAMP}} and {{CURRENTTIMESTAMP}} <= {{CURRENTYEAR}}110{{Nth weekday of month|{{CURRENTYEAR}}|11|0|1}}060000}}
1 <!--- It's currently fall/winter---><noinclude>
+
<noinclude>
 
----
 
----
  
 
This template should be edited twice a year, when North America's clocks go back and forward, to make it 0 in winter and 1 in summer.
 
This template should be edited twice a year, when North America's clocks go back and forward, to make it 0 in winter and 1 in summer.
  
The changes are not automated to reduce server load.
+
The changes are automated.
  
 
[[Category:Current daylight-saving offset templates]]
 
[[Category:Current daylight-saving offset templates]]
 +
[[Category:Date mathematics templates|{{PAGENAME}}]]
 +
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 17:48, 11 March 2008

Expression error: Unrecognized word "strong".


This template should be edited twice a year, when North America's clocks go back and forward, to make it 0 in winter and 1 in summer.

The changes are automated.