Difference between revisions of "Template:Apostles fast date"
(new) |
(adjust fo no fast days) |
||
Line 2: | Line 2: | ||
for | for | ||
− | {{#expr: | + | {{#ifexpr: {{#expr: |
{{#time:{{{format|z}}} |Jun 29 {{{year|{{CURRENTYEAR}} }}} }} - | {{#time:{{{format|z}}} |Jun 29 {{{year|{{CURRENTYEAR}} }}} }} - | ||
{{#time:{{{format|z}}} |{{Pascha date|year={{{year|{{CURRENTYEAR}} }}} }} + 57 day }} | {{#time:{{{format|z}}} |{{Pascha date|year={{{year|{{CURRENTYEAR}} }}} }} + 57 day }} | ||
+ | }} < 1 | ||
+ | | no fast | ||
+ | | {{#expr: | ||
+ | {{#time:{{{format|z}}} |Jun 29 {{{year|{{CURRENTYEAR}} }}} }} - | ||
+ | {{#time:{{{format|z}}} |{{Pascha date|year={{{year|{{CURRENTYEAR}} }}} }} + 57 day }} | ||
+ | }} | ||
}} Days ( | }} Days ( | ||
{{#expr: | {{#expr: |
Revision as of 18:53, November 30, 2011
July 1, 2024
for no fast Days ( 11 Days OC)
Usage
This template displays the start date of Apostles fast for the current year, and length in days.
Usage: {{Apostles fast date}}
Or template displays the start date of Apostles fast for the year passed by the year parameter in the format of the format parameter.
Usage: {{Apostles fast date|year=nnnn|format=format string}}
where nnnn is the year
default format string is F j, Y
format string see chart at Template:Pascha date