יחידה:תאריך: הבדלים בין גרסאות בדף
מאין תקציר עריכה |
מ אפשרות לטווח ללא רווחים |
||
| שורה 806: | שורה 806: | ||
local outputPrefix = '' | local outputPrefix = '' | ||
local parts = mw.text.split(dateRangeStr,' | local parts = mw.text.split(dateRangeStr,' *[–%-] *') | ||
assert(#parts==2 or #parts==1, "Date range expected format is from - to or from (e.g from - now)") | assert(#parts==2 or #parts==1, "Date range expected format is from - to or from (e.g from - now)") | ||