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

12 בייטן אראפגענומען ,  פֿאַר 2 יאָר
נאך איין
(נאך עטליכע טעותים)
(נאך איין)
שורה 404: שורה 404:
function tohebrewmonth(wdate)
function tohebrewmonth(wdate)
if frame.args["exact"] == "כן"
if frame.args["exact"] == "כן"
then return tohebrewdate("15טן " .. wdate, frommonth) end
then return tohebrewdate("15 " .. wdate, frommonth) end
local date1 = tohebrewdate("1טן " .. wdate, same)
local date1 = tohebrewdate("1 " .. wdate, same)
local month1 = fromonlymonth(date1)
local month1 = fromonlymonth(date1)
local year1 = fromyear(date1)
local year1 = fromyear(date1)
local date2 = same(date1 .. " + 31 days")
local date2 = same(date1 .. " + 31 days")
date2 = tomonth(date2)
date2 = tomonth(date2)
date2 = tohebrewdate("1טן " .. date2, same)
date2 = tohebrewdate("1 " .. date2, same)
date2 = same(date2 .. " - 1 days")
date2 = same(date2 .. " - 1 days")
local month2 = fromonlymonth(date2)
local month2 = fromonlymonth(date2)