יחידה:תאריך עברי: הבדלים בין גרסאות בדף
אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 155: | שורה 155: | ||
function checkcasp(wdate) | function checkcasp(wdate) | ||
local wnumbers = numtonums(wdate) | local wnumbers = numtonums(wdate) | ||
if wnumbers[3] < 360 or wnumbers[3] > 4357 | |||
then error("The date is not in the allowed casp") end | |||
end | end | ||
| שורה 177: | שורה 178: | ||
local take = takenumbers(rem, frame) | local take = takenumbers(rem, frame) | ||
local incasp = checkcasp(take) | local incasp = checkcasp(take) | ||
return from(take, frame) | |||
end | end | ||