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 22:45, 11 April 2018

"{{#arr:get|c" can not be assigned to a declared number type with value 7.163E+27."{{#arr:get|c" can not be assigned to a declared number type with value 7.163E+27.