Difference between revisions of "Template:Next Saturday"

From Geohashing
imported>Tjtrumpet2323
m
imported>Tjtrumpet2323
m (continuing Sunday testcase)
Line 1: Line 1:
{{ #ifexpr: {{ #time: His | {{CURRENTTIMESTAMP}} }} >= 133000 | {{ #ifexpr: {{is US DST}} = 1 | {{ #ifexpr: {{ #time: His | {{CURRENTTIMESTAMP}} }} >= 143000
+
{{ #ifexpr: {{ #time: w | {{CURRENTTIMESTAMP}} = 0 | {{Next Saturday/isSaturday}}
 +
| {{ #ifexpr: {{ #time: His | {{CURRENTTIMESTAMP}} }} >= 133000 | {{ #ifexpr: {{is US DST}} = 1 | {{ #ifexpr: {{ #time: His | {{CURRENTTIMESTAMP}} }} >= 143000
 
| {{Next Saturday/dowHasOpened}}
 
| {{Next Saturday/dowHasOpened}}
 
| {{Next Saturday/dowHasNotOpened}}
 
| {{Next Saturday/dowHasNotOpened}}
Line 6: Line 7:
 
}}
 
}}
 
| {{Next Saturday/dowHasNotOpened}}
 
| {{Next Saturday/dowHasNotOpened}}
}}<noinclude>
+
}} }}
 +
 
 +
 
 +
 
 +
<noinclude>
 
== Usage ==
 
== Usage ==
 
<code><nowiki>{{Next Saturday}}</nowiki></code>
 
<code><nowiki>{{Next Saturday}}</nowiki></code>
 
</noinclude>
 
</noinclude>

Revision as of 03:35, 25 May 2008

{{ #ifexpr: Error: Invalid time.



Usage

{{Next Saturday}}