אונטערשייד צווישן ווערסיעס פון "יחידה:טווח זמנים"

ק
הגהה
(שטיץ אויך אידישע דאטומען (אנהייב))
ק (הגהה)
שורה 53: שורה 53:
local startDate = args['תאריך התחלה']
local startDate = args['תאריך התחלה']
if startDate ~= nil and isHDate(startDate) then
if startDate ~= nil and isHDate(startDate) then
startDate = HDate.fromhebrew(startDate)
local success, sepcDate = pcall(HDate.pick, mw.getCurrentFrame():newChild{ args = {hebrew=startDate, world='', exact='כן' } })
if success and sepcDate ~= '' then
    startDate = sepcDate
end
end
end
local endDate = args['תאריך סיום']
local endDate = args['תאריך סיום']
if endDate ~= nil and isHDate(endDate) then
if endDate ~= nil and isHDate(endDate) then
endDate = HDate.fromhebrew(endDate)
local success, sepcDate = pcall(HDate.pick, mw.getCurrentFrame():newChild{ args = {hebrew=endDate, world='', exact='כן' } })
if success and sepcDate ~= '' then
    endDate = sepcDate
end
end
end