יחידה:גיל לערכי אישים: הבדלים בין גרסאות בדף
מאין תקציר עריכה |
מאין תקציר עריכה |
||
| שורה 81: | שורה 81: | ||
dateRangeStr = string.format('%s - %s', BirthDate, DeathDate) | dateRangeStr = string.format('%s - %s', BirthDate, DeathDate) | ||
else | else | ||
prefix = frame:expandTemplate{ title = 'לפי מגדר/בדוק', args = { 'בן', 'בת' } } | prefix = frame:expandTemplate{ title = 'לפי מגדר/בדוק', args = { 'בן ', 'בת ' } } | ||
dateRangeStr = BirthDate | dateRangeStr = BirthDate | ||
end | end | ||
local success, result = pcall(dateParser.parseDateRange, dateRangeStr , {'years'}, true) | local success, result = pcall(dateParser.parseDateRange, dateRangeStr , {'years'}, true) | ||