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

From blackwiki
Jump to navigation Jump to search
imported>Coffeeandcrumbs
(it appears this issue has long been fixed since we stay in order when promoting to queue)
imported>BlueMoonset
(Reverted good faith edits by Coffeeandcrumbs (talk): This was correct as it was; with change, showing Queue 1 and Prep 1 back to back, which is problematic (TW))
Line 31: Line 31:
 
| {{for loop|
 
| {{for loop|
 
{{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=6|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}}
 
{{!}}|call=Did you know/Queue/LocalUpdateTimes/Helper|pc1n=offset|pc1v=6|pv=location|Los Angeles|New York|UTC|London|New Delhi|Tokyo|Sydney}}
 +
{{#iferror: {{emptyqueue}} | <!-- 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}}]]'''
Line 91: Line 92:
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=12 |location=Tokyo}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=12 |location=Tokyo}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=12 |location=Sydney}}
 
{{!}} {{Template:Did you know/Queue/LocalUpdateTimes/Helper |offset=12 |location=Sydney}}
 +
|}}
 
|}<noinclude>
 
|}<noinclude>
 
{{Documentation|content=This template shows when [[WP:DYK|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".
 
{{Documentation|content=This template shows when [[WP:DYK|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".

Revision as of 01:16, 25 May 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.
50px Template documentation

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 8 08:00 UTC – November 1 07:00 UTC
  • London: March 29 01:00 UTC – October 25 01:00 UTC
  • Sydney: October 4 16:00 UTC – April 5 16:00 UTC
  • New Delhi and Tokyo do not observe Daylight Savings Time