יחידה:תאריך עברי: הבדלים בין גרסאות בדף
עדיין בעבודה |
המשך עבודה |
||
| שורה 79: | שורה 79: | ||
return roshana | return roshana | ||
end | end | ||
otiyot = { | |||
[0] = "ז", [1] = "א", [2] = "ב", [3] = "ג", [5] = "ה", [6] = "ח", [7] = "כ", [8] = "ש", [9] = "פ", [10] = "מ" | |||
} | |||
function kviut(hyear) | function kviut(hyear) | ||
local thisyear = dehiyot(hyear) | local A | ||
A.thisyear = dehiyot(hyear) | |||
A.nextyear = dehiyot(hyear + 1) | |||
A.yearlength = A.nextyear - A.thisyear | |||
A.hasiman = otiyot[A.thisyear % 7] .. otiyot[A.yearlength % 10 + 3] .. otiyot[(A.nextyear - 2) % 7] | |||
return A | |||
end | end | ||
| שורה 649: | שורה 656: | ||
return {fromhebrew = fromhebrew, tohebrew = tohebrew, verify = verify, pick = pick, samedate = samedate, | return {fromhebrew = fromhebrew, tohebrew = tohebrew, verify = verify, pick = pick, samedate = samedate, | ||
fromhebrewformat = fromhebrewformat} | fromhebrewformat = fromhebrewformat, kviut = kviut} | ||