יחידה:תאריך עברי: הבדלים בין גרסאות בדף
אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 73: | שורה 73: | ||
return "error" | return "error" | ||
end | end | ||
function from(gdate, frame) | function from(gdate, frame) | ||
return frame:callParserFunction("#זמןמ:xhxjj xjx xhxjY", gdate) | return frame:callParserFunction("#זמןמ:xhxjj xjx xhxjY", gdate) | ||
end | end | ||
function to(gdate, frame) | function to(gdate, frame) | ||
return frame:callParserFunction("#זמןמ:j-m-Y", gdate) | return frame:callParserFunction("#זמןמ:j-m-Y", gdate) | ||
end | end | ||
function to1(gdate, frame) | function to1(gdate, frame) | ||
return frame:callParserFunction("#זמןמ:j בF Y", gdate) | return frame:callParserFunction("#זמןמ:j בF Y", gdate) | ||
end | end | ||
function fixdate(hdate) | function fixdate(hdate) | ||
local s1 = find1(hdate, " "); | local s1 = find1(hdate, " "); | ||
| שורה 97: | שורה 101: | ||
return {h1, h2, h3, h1 .. " " .. h2 .. " " .. h3} | return {h1, h2, h3, h1 .. " " .. h2 .. " " .. h3} | ||
end | end | ||
function fromhebrew(frame) | function fromhebrew(frame) | ||
local hdate = frame.args[1] | local hdate = frame.args[1] | ||
| שורה 103: | שורה 108: | ||
end | end | ||
function tohebrew(frame) | |||
mtable = {"בינואר", "בפברואר", "במרץ", "באפריל", "במאי", "ביוני", "ביולי", "באוגוסט", "בספטמבר", "באוקטובר", "בנובמבר", "בדצמבר", } | |||
end | |||
return {fromhebrew = fromhebrew, tohebrew = hebrew} | return {fromhebrew = fromhebrew, tohebrew = hebrew} | ||