יחידה:תאריך עברי: הבדלים בין גרסאות בדף

אין תקציר עריכה
אין תקציר עריכה
שורה 74: שורה 74:
local heshbon = molad(allmonths(year))
local heshbon = molad(allmonths(year))
local roshana = heshbon.days
local roshana = heshbon.days
if (heshbon.hour > 17 or (heshbon.day == 3 and heshbon.parts > 9923 and metonic(hyear) > 6) or (heshbon.day == 2 and heshbon.parts > 16788 and metonic(hyear) > 11))
if (heshbon.hour > 17 or (heshbon.day == 3 and heshbon.parts > 9923 and metonic(year) > 6) or (heshbon.day == 2 and heshbon.parts > 16788 and metonic(year) > 11))
then roshana = roshana + 1
then roshana = roshana + 1
end
end