Difference between revisions of "Template:Did you know/Queue/LocalUpdateTimes/Helper"

From blackwiki
Jump to navigation Jump to search
imported>Shubinator
(switch to 24-hour time format per WT:DYK#Clock - 24 hour or 12 hour acceptable ...)
Line 1: Line 1:
{{#time: j F H:i|{{Did_you_know/Next_update/Time}} + {{#expr:  
+
<includeonly>{{#time: j F H:i|{{Did_you_know/Next_update/Time}} + {{#expr:  
 
{{{offset}}} * {{User:DYKUpdateBot/Time Between Updates}} }} seconds {{#switch: {{{location}}}
 
{{{offset}}} * {{User:DYKUpdateBot/Time Between Updates}} }} seconds {{#switch: {{{location}}}
 
  | Los Angeles = {{#ifexpr: {{CURRENTTIMESTAMP}} >= {{CURRENTYEAR}}03{{#time: d | {{CURRENTYEAR}}0314080000 - {{#time: w | {{CURRENTYEAR}}0314080000 }} days}}080000 and {{CURRENTTIMESTAMP}} <= {{CURRENTYEAR}}11{{#time: d | {{CURRENTYEAR}}1107070000 - {{#time: w | {{CURRENTYEAR}}1107070000 }} days}}070000 | -7 hours | -8 hours}}
 
  | Los Angeles = {{#ifexpr: {{CURRENTTIMESTAMP}} >= {{CURRENTYEAR}}03{{#time: d | {{CURRENTYEAR}}0314080000 - {{#time: w | {{CURRENTYEAR}}0314080000 }} days}}080000 and {{CURRENTTIMESTAMP}} <= {{CURRENTYEAR}}11{{#time: d | {{CURRENTYEAR}}1107070000 - {{#time: w | {{CURRENTYEAR}}1107070000 }} days}}070000 | -7 hours | -8 hours}}
Line 9: Line 9:
 
  | {{{location}}}
 
  | {{{location}}}
 
}}
 
}}
}}<noinclude>
+
}}</includeonly><noinclude>
 
{{Documentation|content=This is a helper template for [[Template:Did you know/Queue/LocalUpdateTimes]] and '''should not be deleted'''. It is normal for this page to show "Error:invalid time".}}
 
{{Documentation|content=This is a helper template for [[Template:Did you know/Queue/LocalUpdateTimes]] and '''should not be deleted'''. It is normal for this page to show "Error:invalid time".}}
 
</noinclude>
 
</noinclude>

Revision as of 20:26, 30 April 2012

50px Template documentation

This is a helper template for Template:Did you know/Queue/LocalUpdateTimes and should not be deleted. It is normal for this page to show "Error:invalid time".