Difference between revisions of "Template:Next Saturday"

From Geohashing
imported>Tjtrumpet2323
m (Sunday testcase over; going to Saturday, preparing to go live)
imported>Tjtrumpet2323
m
Line 1: Line 1:
{{ #ifexpr: {{ #time: w | {{CURRENTTIMESTAMP}} }} = 6 | {{Next Saturday/isSaturday}}
+
{{ #ifexpr: {{ #time: w | {{CURRENTTIMESTAMP}} }} = 6 | {{Next Saturday/isSaturday}} <!-- special handling if it is a Saturday -->
| {{ #ifexpr: {{ #time: His | {{CURRENTTIMESTAMP}} }} >= 133000 | {{ #ifexpr: {{is US DST}} = 1 | {{ #ifexpr: {{ #time: His | {{CURRENTTIMESTAMP}} }} >= 143000
+
| {{ #ifexpr: {{ #time: Hi | {{CURRENTTIMESTAMP}} }} >= 1330 | {{ #ifexpr: {{is US DST}} = 0 | {{ #ifexpr: {{ #time: His | {{CURRENTTIMESTAMP}} }} >= 1430
| {{Next Saturday/dowHasOpened}}
+
| {{Next Saturday/dowHasOpened}} <!-- we are after 09:30 EST -->
| {{Next Saturday/dowHasNotOpened}}
+
| {{Next Saturday/dowHasNotOpened}} <!-- we are before 09:30 EST -->
 
}}
 
}}
| {{Next Saturday/dowHasNotOpened}}
+
| {{Next Saturday/dowHasOpened}} <!-- we are after 09:30 EDT -->
 
}}
 
}}
| {{Next Saturday/dowHasNotOpened}}
+
| {{Next Saturday/dowHasNotOpened}} <!-- we are before 09:30 EDT -->
 
}} }}<noinclude>
 
}} }}<noinclude>
 
== Usage ==
 
== Usage ==
 
<code><nowiki>{{Next Saturday}}</nowiki></code>
 
<code><nowiki>{{Next Saturday}}</nowiki></code>
 
</noinclude>
 
</noinclude>

Revision as of 03:45, 25 May 2008

The coordinates for the next Saturday meetups, scheduled for 30 November 2024, will be based on the Dow’s opening price published at 09:30 EST (14:30 UTC) on Friday 29 November. See timeanddate.com to convert this time to your local time zone.

Usage

{{Next Saturday}}