בדוקי עריכות אוטומטית, אינטערפעיס רעדאקטארן, אינטערפעיס אדמיניסטראַטאָרן, סיסאפן, מייבאים, מעדכנים, מייבא, אספקלריה רעדאקטארן
46,708
רעדאגירונגען
ק (תנא קמא האט אריבערגעפירט בלאט יחידה:תאריך עברי צו יחידה:אידישע דאטום אן לאזן א ווייטערפירונג) |
(אידיש) |
||
| שורה 298: | שורה 298: | ||
function fromhebrewmonth(hdate) | function fromhebrewmonth(hdate) | ||
if frame.args["exact"] == "כן" | if frame.args["exact"] == "כן" | ||
then return fromhebrewdate('ט"ו | then return fromhebrewdate('ט"ו ' .. hdate, tomonth) end | ||
local date1 = fromhebrewdate("א' | local date1 = fromhebrewdate("א' " .. hdate, same) | ||
local month1 = toonlymonth(date1) | local month1 = toonlymonth(date1) | ||
local year1 = toyear(date1) | local year1 = toyear(date1) | ||
local date2 = same(date1 .. " + 30 days") | local date2 = same(date1 .. " + 30 days") | ||
date2 = frommonth(date2) | date2 = frommonth(date2) | ||
date2 = fromhebrewdate("א' | date2 = fromhebrewdate("א' " .. date2, same) | ||
date2 = same(date2 .. " - 1 days") | date2 = same(date2 .. " - 1 days") | ||
local month2 = toonlymonth(date2) | local month2 = toonlymonth(date2) | ||
| שורה 398: | שורה 398: | ||
function tohebrewmonth(wdate) | function tohebrewmonth(wdate) | ||
if frame.args["exact"] == "כן" | if frame.args["exact"] == "כן" | ||
then return tohebrewdate(" | then return tohebrewdate("15טן " .. wdate, frommonth) end | ||
local date1 = tohebrewdate(" | 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(" | date2 = tohebrewdate("1טן " .. date2, same) | ||
date2 = same(date2 .. " - 1 days") | date2 = same(date2 .. " - 1 days") | ||
local month2 = fromonlymonth(date2) | local month2 = fromonlymonth(date2) | ||
רעדאגירונגען