Difference between revisions of "Template:FestivalDates"

From Culture.si
Line 4: Line 4:
 
| {{#arr:split|{{{dates}}}|,+}}
 
| {{#arr:split|{{{dates}}}|,+}}
 
| each = {{{
 
| each = {{{
   dates = {{#arr:split|{{{chunk}}}|[-]}}
+
   dates = {{#arr:split|{{{chunk}}}|[-−–]}}
 
| start_date = {{#arr:get|{{{dates}}}|0}}
 
| start_date = {{#arr:get|{{{dates}}}|0}}
 
| end_date = {{#arr:get|{{{dates}}}|1|{{{start_date}}}}}
 
| end_date = {{#arr:get|{{{dates}}}|1|{{{start_date}}}}}

Revision as of 15:35, 9 June 2015