Difference between revisions of "Template:Did you know/Queue/LocalUpdateTimes/Helper"
Jump to navigation
Jump to search
imported>Ravenpuff (+ nbsp between day and month; force line break before time) |
|||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#time: j F H:i|{{ | + | <includeonly>{{#time:j" "F"<br>"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}} | ||
| New York = {{#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 | -4 hours | -5 hours}} | | New York = {{#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 | -4 hours | -5 hours}} | ||
Latest revision as of 12:29, 11 September 2019
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".
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |