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

אין תקציר עריכה
אין תקציר עריכה
שורה 378: שורה 378:
local ht, hd = findhdatetype(hdate)
local ht, hd = findhdatetype(hdate)
local wt, wd = findwdatetype(wdate)
local wt, wd = findwdatetype(wdate)
if ht == "dmy" then return hd
if ht == "dmy" then return fromhebrew1(hd)
elseif wt == "dmy" then return wd
elseif wt == "dmy" then return wd
elseif ht == "my" then return hd
elseif ht == "my" then return fromhebrew1(hd)
elseif wt == "my" then return wd
elseif wt == "my" then return wd
elseif ht == "y" then return hd
elseif ht == "y" then return fromhebrew1(hd)
elseif wt == "y" then return wd
elseif wt == "y" then return wd
elseif ht == "about" then return hd
elseif ht == "about" then return hd