Difference between revisions of "Template:Did you know/Queue/LocalUpdateTimes"
Jump to navigation
Jump to search
Template documentation
imported>MSGJ (i think you had a missing bar) |
imported>BlueMoonset (Reverted good faith edits by MSGJ (talk): Reverting change that caused extra preps to be incorrectly displayed (TW)) |
||
| Line 36: | Line 36: | ||
| {{for loop| | | {{for loop| | ||
{{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=7|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}} | {{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=7|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}} | ||
| − | {{#ifexpr: {{DYK queue/number of empty}} = 0 | + | {{#ifexpr: {{DYK queue/number of empty}} = 0 | <!-- If there's no empty queue, then display the prep times; otherwise they're not accurate --> |
{{!}}- | {{!}}- | ||
{{!}} '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=1}} .5Bedit.5D|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=1}} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=1}}]]''' | {{!}} '''[[{{#ifeq:{{FULLPAGENAME}}|Template:Did you know/Queue|Template:Did you know/Queue#Prep area {{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=1}} .5Bedit.5D|T:DYK/P{{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=1}} }}|Prep {{Template:Did you know/Queue/LocalUpdateTimes/PrepCalculator|prepoffset=1}}]]''' | ||
Revision as of 13:31, 12 June 2020
| Los Angeles | New York | UTC | London (UTC) | New Delhi | Tokyo | Sydney | |
|---|---|---|---|---|---|---|---|
| Queue 6 | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. |
| Queue 7 | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. |
| Queue 1 | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. |
| Queue 2 | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. |
| Queue 3 | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. |
| Queue 4 | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. |
| Queue 5 | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. | Error: Invalid time. |
This template shows when Did You Know updates are scheduled to appear on the Main Page. It automatically adjusts for Daylight Savings Time according to the schedule below. Using the template with no parameters gives the table above. The template can display a custom time zone with the customshift parameter. For example, the code below shows the update times in Zimbabwe. The customshift parameter must have a plus or minus sign in front of the number of hours the time zone is offset from UTC. If you want UTC times, enter "+0 hours" or "-0 hours".
{{Template:Did you know/Queue/LocalUpdateTimes |customname=Zimbabwe |customshift=+2 hours}}
Schedule for Daylight Savings Time this year (time is offset by +1 hour compared to non-DST):
- New York: March 9 08:00 UTC – November 2 07:00 UTC
- London: March 30 01:00 UTC – October 26 01:00 UTC
- Sydney: October 5 16:00 UTC – April 6 16:00 UTC
- New Delhi and Tokyo do not observe Daylight Savings Time
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |