Difference between revisions of "Template:FestivalDates"
Line 6: | Line 6: | ||
dates = {{#arr:split|{{{chunk}}}|([-−–]}} | dates = {{#arr:split|{{{chunk}}}|([-−–]}} | ||
| start_date = {{#arr:get|{{{dates}}}|0}} | | start_date = {{#arr:get|{{{dates}}}|0}} | ||
+ | | start = {{#timel:Ymd|{{{start_date}}}}} | ||
| end_date = {{#arr:get|{{{dates}}}|1|{{{start_date}}}}} | | end_date = {{#arr:get|{{{dates}}}|1|{{{start_date}}}}} | ||
+ | | end = {{#timel:Ymd|{{{end_date}}}}} | ||
| start_year = {{#timel:Y|{{{start_date}}}}} | | start_year = {{#timel:Y|{{{start_date}}}}} | ||
| end_year = {{#timel:Y|{{{end_date}}}}} | | end_year = {{#timel:Y|{{{end_date}}}}} | ||
Line 17: | Line 19: | ||
| each = {{#set:Festival weeks={{{week}}}}} | | each = {{#set:Festival weeks={{{week}}}}} | ||
}} | }} | ||
− | | last = {{#set:Festival start={{{ | + | | last = {{#set:Festival start={{{start}}}}}{{#set:Festival end={{{end}}}}} |
}} | }} |
Revision as of 22:49, 11 April 2018
"Error: Invalid time." is not a number."Error: Invalid time." is not a number.