יחידה:תאריך עברי: הבדלים בין גרסאות בדף
אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 225: | שורה 225: | ||
return fromhebrewyear(rem) end | return fromhebrewyear(rem) end | ||
return fromhebrewdate(rem, to) | return fromhebrewdate(rem, to) | ||
end | |||
function checkabout() | |||
if frame.args["about"] == "כן" | |||
then for e, ee in pairs(abouttable) do | |||
if find1(frame.args[1], ee) > 0 then | |||
return frame.args[1] end | |||
end end | |||
end | end | ||
function fromhebrew(f) | function fromhebrew(f) | ||
frame = f | frame = f | ||
checkabout() | |||
local success, res = pcall(fromhebrew1) | local success, res = pcall(fromhebrew1) | ||
if success | if success | ||
| שורה 289: | שורה 294: | ||
function tohebrew(f) | function tohebrew(f) | ||
frame = f | frame = f | ||
checkabout() | |||
local success, res = pcall(tohebrew1, frame.args[1]) | local success, res = pcall(tohebrew1, frame.args[1]) | ||
if success | if success | ||