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

אין תקציר עריכה
אין תקציר עריכה
אין תקציר עריכה
שורה 101: שורה 101:
   month = return_month(year, month, false)
   month = return_month(year, month, false)
   if month == "תשרי" then year = year + 1 end
   if month == "תשרי" then year = year + 1 end
   return year .. "," .. month
   return month .. "/" .. year
end
end


שורה 110: שורה 110:
   month = return_month(year, month, true)
   month = return_month(year, month, true)
   if month == "אלול" then year = year - 1 end
   if month == "אלול" then year = year - 1 end
   return year .. "," .. month
   return month .. "/" .. year
end
end


שורה 123: שורה 123:
     if month == "תשרי" then year = year + 1 end
     if month == "תשרי" then year = year + 1 end
   end
   end
   return year .. "," .. month .. "," .. day
   return day .. "/" .. month .. "/" .. year 
end
end


שורה 136: שורה 136:
     month = return_month(year, month, true)
     month = return_month(year, month, true)
   end
   end
   return year .. "," .. month .. "," .. new_day
   return new_day .. "/" .. month .. "/" .. year 
end
end


return p
return p